Binance Web3 Connector JS
    Preparing search index...

    Request parameters for getErc20ApproveTransaction operation in TradingApi. GetErc20ApproveTransactionRequest

    interface GetErc20ApproveTransactionRequest {
        approveAmount: string;
        binanceChainId: string;
        nonce?: string;
        recvWindow?: number | bigint;
        tokenContractAddress: string;
        vendor?: string;
    }
    Index

    Properties

    approveAmount: string

    Approval amount in the token's smallest unit (positive integer string). Example "1000000" = 1 USDT (decimals=6).

    TradingApiGetErc20ApproveTransaction

    binanceChainId: string

    Unique chain identifier (e.g. "1"=Ethereum, "56"=BSC).

    TradingApiGetErc20ApproveTransaction

    nonce?: string

    Unique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.

    TradingApiGetErc20ApproveTransaction

    recvWindow?: number | bigint

    Allowed time deviation in milliseconds (default: 5000, max: 60000).

    TradingApiGetErc20ApproveTransaction

    tokenContractAddress: string

    ERC-20 token contract address to approve (0x + 40 hex chars).

    TradingApiGetErc20ApproveTransaction

    vendor?: string

    Required for equity / RWA tokens (Ondo, BStock). Pass the vendorName from the /quote response. When specified, the backend returns approve calldata targeting the vendor-specific contract address instead of the default DEX router.

    TradingApiGetErc20ApproveTransaction