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

    Interface NearIntentsSendParams

    Params of nearIntents.buildSendTransaction

    interface NearIntentsSendParams {
        amount: string;
        destinationToken: TokenWithChainDetails;
        fromAccountAddress: string;
        nearIntentsDeposit?: NearIntentsDeposit;
        sourceToken: TokenWithChainDetails;
        toAccountAddress: string;
    }
    Index

    Properties

    amount: string

    The float amount of tokens to send

    destinationToken: TokenWithChainDetails

    The token info object on the destination chain.

    fromAccountAddress: string

    The account address to transfer tokens from; refunds go back to it.

    nearIntentsDeposit?: NearIntentsDeposit

    A deposit created with nearIntents.createDeposit. Optional. If not defined, a new deposit is created for amount (EXACT_INPUT). When defined, its amountIn must equal amount.

    The token info object on the source chain.

    toAccountAddress: string

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