@allbridge/bridge-core-sdk
    Preparing search index...

    Interface LifiIntentsSendParams

    Params of lifiIntents.buildSendTransaction

    interface LifiIntentsSendParams {
        amount: string;
        destinationToken: TokenWithChainDetails;
        fromAccountAddress: string;
        lifiIntentsOrder?: LifiIntentsOrder;
        sourceToken: TokenWithChainDetails;
        toAccountAddress: string;
    }
    Index

    Properties

    amount: string

    The float amount of tokens to send, the Allbridge fee included

    destinationToken: TokenWithChainDetails

    The token info object on the destination chain.

    fromAccountAddress: string

    The account address to transfer tokens from; it signs the transaction and gets refunds.

    lifiIntentsOrder?: LifiIntentsOrder

    An order created with lifiIntents.createOrder. Optional. If not defined, a new order is created for amount (EXACT_INPUT). When defined, its amountIn, sender and recipient must match amount, fromAccountAddress and toAccountAddress.

    The token info object on the source chain.

    toAccountAddress: string

    The account address on the destination chain to receive the tokens.