Binance Web3 Connector JS
    Preparing search index...

    A single unsigned transaction to sign and broadcast. The dataList is ordered: APPROVE items precede the main action. EVM chains return to/value (hex) and hex calldata in data. Number-format conventions for this object — value is a 0x-prefixed hex string; gasLimit, gasPrice, maxPriorityFeePerGas, and maxFeePerGas are decimal strings. Mixed hex/decimal within the same object is by design (it mirrors the on-chain transaction fields); always parse gas fields with base-10 and value with base-16. EIP-1559 and legacy gas fields: all currently supported chains are EVM. On BSC build responses populate maxFeePerGas and maxPriorityFeePerGas; gasPrice is null. Other supported chains may populate either set — use the 1559 fields when present and fall back to gasPrice when it carries a value. The nullable markers below are retained so the schema also describes legacy-only chains. to and value are non-null for currently supported protocols.

    DefiTxResponseDataListInner

    interface DefiTxResponseDataListInner {
        callDataType?: Web3WalletRestAPI.DefiTxResponseDataListInnerCallDataTypeEnum;
        data?: string;
        from?: string;
        gasLimit?: string | null;
        gasPrice?: string | null;
        maxFeePerGas?: string | null;
        maxPriorityFeePerGas?: string | null;
        to?: string | null;
        value?: string | null;
    }
    Index

    Action kind of this item: - APPROVE — ERC-20 approval, must be signed/broadcast and confirmed before the main action - DEPOSIT / REDEEM / LP_ADD / LP_REMOVE / CLAIM — the main action. LP_ADD / LP_REMOVE are the LP add / remove legs (the same build path as deposit / redeem for liquidity-pool investments; the kind reflects the on-chain action, not the entry endpoint).

    DefiTxResponseDataListInner

    data?: string

    Serialized transaction data, as a 0x-prefixed hex calldata string.

    DefiTxResponseDataListInner

    from?: string

    User wallet address (the signer / sender). EIP-55 checksummed — normalize with to_checksum_address before signing if your signer requires it.

    DefiTxResponseDataListInner

    gasLimit?: string | null

    Suggested gas limit (decimal string). null when estimation fails.

    DefiTxResponseDataListInner

    gasPrice?: string | null

    Legacy gas price, decimal string. null on EIP-1559 chains such as BSC (use maxFeePerGas / maxPriorityFeePerGas instead).

    DefiTxResponseDataListInner

    maxFeePerGas?: string | null

    EIP-1559 max fee per gas in wei (decimal string). null on non-1559 chains.

    DefiTxResponseDataListInner

    maxPriorityFeePerGas?: string | null

    EIP-1559 priority fee in wei (decimal string). null on non-1559 chains.

    DefiTxResponseDataListInner

    to?: string | null

    Target contract address. EIP-55 checksummed, same format as from. Non-null for currently supported protocols.

    DefiTxResponseDataListInner

    value?: string | null

    Native-asset value as a 0x-prefixed hex string. Non-null for currently supported protocols.

    DefiTxResponseDataListInner