Binance Web3 Connector JS
    Preparing search index...

    On-chain transaction payload to sign and submit.

    BuildSwapTransactionResponseDataTx

    interface BuildSwapTransactionResponseDataTx {
        computeUnitLimit?: string | null;
        computeUnitPrice?: string | null;
        data?: string;
        from?: string;
        gas?: string;
        gasPrice?: string;
        maxPriorityFeePerGas?: string;
        minReceiveAmount?: string;
        signatureData?: string[];
        slippagePercent?: string;
        to?: string;
        value?: string;
    }
    Index

    Properties

    computeUnitLimit?: string | null

    Solana compute-unit ceiling. Echoed when supplied; not returned otherwise. Null on EVM chains.

    BuildSwapTransactionResponseDataTx

    computeUnitPrice?: string | null

    Solana priority fee per compute unit (micro-lamports). Echoed when supplied; computed by the platform otherwise. Null on EVM chains.

    BuildSwapTransactionResponseDataTx

    data?: string

    ABI-encoded calldata.

    BuildSwapTransactionResponseDataTx

    from?: string

    User wallet address (transaction sender).

    BuildSwapTransactionResponseDataTx

    gas?: string

    Gas limit estimate.

    BuildSwapTransactionResponseDataTx

    gasPrice?: string

    Gas price (wei).

    BuildSwapTransactionResponseDataTx

    maxPriorityFeePerGas?: string

    EIP-1559 max priority fee per gas (wei).

    BuildSwapTransactionResponseDataTx

    minReceiveAmount?: string

    Minimum buy-token amount the user accepts at the slippage limit (smallest unit, integer string).

    BuildSwapTransactionResponseDataTx

    signatureData?: string[]

    Auxiliary signature data. When approveTransaction=true was passed, this contains the spender address and approve calldata.

    BuildSwapTransactionResponseDataTx

    slippagePercent?: string

    Slippage value applied to this transaction (percentage string).

    BuildSwapTransactionResponseDataTx

    to?: string

    DEX router contract address (the transaction's to field).

    BuildSwapTransactionResponseDataTx

    value?: string

    Native-token amount sent with the transaction (wei). "0" for ERC-20 swaps.

    BuildSwapTransactionResponseDataTx