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

    Interface NearIntentsCreateDepositParams

    Params of a NEAR Intents deposit, see nearIntents.createDeposit

    interface NearIntentsCreateDepositParams {
        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) 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; refunds go back to it.

    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.