Binance Web3 Connector JS
    Preparing search index...

    Request parameters for getAggregatedQuote operation in TradingApi. GetAggregatedQuoteRequest

    interface GetAggregatedQuoteRequest {
        amount: string;
        binanceChainId: string;
        fromTokenAddress: string;
        nonce?: string;
        recvWindow?: number | bigint;
        toTokenAddress: string;
        userWalletAddress?: string;
    }
    Index

    Properties

    amount: string

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

    TradingApiGetAggregatedQuote

    binanceChainId: string

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

    TradingApiGetAggregatedQuote

    fromTokenAddress: string

    Sell-token contract address. EVM chains require 0x + 40 hex chars; non-EVM chains use the chain's native address format.

    TradingApiGetAggregatedQuote

    nonce?: string

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

    TradingApiGetAggregatedQuote

    recvWindow?: number | bigint

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

    TradingApiGetAggregatedQuote

    toTokenAddress: string

    Buy-token contract address. Must differ from fromTokenAddress.

    TradingApiGetAggregatedQuote

    userWalletAddress?: string

    User wallet address. Required when quoting RFQ routes (equity / RWA tokens such as Ondo and BStock). This address is used as the receiver in the RFQ order and must match the wallet that signs rfq.typedDataToSign in the subsequent /swap call.

    TradingApiGetAggregatedQuote