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

    Interface LifiIntentsCreateOrderParams

    Params of a LI.FI Intents order, see lifiIntents.createOrder

    interface LifiIntentsCreateOrderParams {
        amount: string;
        destinationToken: TokenWithChainDetails;
        fromAccountAddress: string;
        sourceToken: TokenWithChainDetails;
        swapType?: NearIntentsSwapType;
        toAccountAddress: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    amount: string

    The float amount: the amount to send (in source token units, the Allbridge fee included) for EXACT_INPUT, the amount to receive (in destination token units) for EXACT_OUTPUT.

    destinationToken: TokenWithChainDetails

    The token info object on the destination chain.

    fromAccountAddress: string

    The account address the transfer is sent from: it signs the order transaction and gets the refund of an unfilled order. On Solana: the wallet pubkey, which also pays the transaction fee.

    The token info object on the source chain.

    Optional. EXACT_INPUT by default.

    toAccountAddress: string

    The account address on the destination chain to receive the tokens. On Solana: the wallet (owner) pubkey; the solver pays its associated token account.