Binance Web3 Connector JS
    Preparing search index...

    GetAggregatedQuoteResponseDataInner

    interface GetAggregatedQuoteResponseDataInner {
        approveTarget?: string | null;
        binanceChainId?: string;
        dexRouterList?: GetAggregatedQuoteResponseDataInnerDexRouterListInner[];
        estimateGasFee?: string | null;
        executionMode?: string;
        fromToken?: GetAggregatedQuoteResponseDataInnerFromToken;
        fromTokenAmount?: string;
        isBest?: boolean;
        priceImpactPercent?: string | null;
        quoteId?: string;
        router?: string;
        toToken?: GetAggregatedQuoteResponseDataInnerToToken;
        toTokenAmount?: string;
        tradeFee?: string | null;
        vendorName?: string;
    }
    Index

    Properties

    approveTarget?: string | null

    The spender contract address the backend will encode into the approve calldata for this route. To obtain that calldata, call /approve-transaction with vendor=<vendorName> (the string name, e.g. \"PcsXRfq\") — the backend resolves the spender address internally from the vendor name. This field is provided for informational purposes only (e.g. to call ERC-20 approve() directly without going through /approve-transaction). Null when no approval is needed (e.g. native-token swap or already approved).

    GetAggregatedQuoteResponseDataInner

    binanceChainId?: string

    Chain identifier echoed from the request.

    GetAggregatedQuoteResponseDataInner

    Routing path segments. Each segment corresponds to one hop on one DEX protocol; multi-DEX hops are flattened.

    GetAggregatedQuoteResponseDataInner

    estimateGasFee?: string | null

    Estimated gas in the chain's smallest unit (e.g. wei). May be null on Solana.

    GetAggregatedQuoteResponseDataInner

    executionMode?: string

    Execution mode for this route. SWAP = standard on-chain swap (sign the tx object from /swap and broadcast). RFQ = signed order flow (sign rfq.typedDataToSign from /swap with EIP-712, submit via POST /order/submit, poll GET /order/{orderId}). Equity / RWA tokens always return RFQ.

    GetAggregatedQuoteResponseDataInner

    GetAggregatedQuoteResponseDataInner

    fromTokenAmount?: string

    Sell amount echoed from the request (smallest unit, integer string).

    GetAggregatedQuoteResponseDataInner

    isBest?: boolean

    Whether this route has the highest toTokenAmount among all routes returned in this response. At most one route per response has isBest=true.

    GetAggregatedQuoteResponseDataInner

    priceImpactPercent?: string | null

    Estimated price impact percentage. Null when the vendor does not return one.

    GetAggregatedQuoteResponseDataInner

    quoteId?: string

    Per-route quote identifier (UUID, no dashes). Pass to the swap endpoint to lock in this route.

    GetAggregatedQuoteResponseDataInner

    router?: string

    Routing path description, addresses joined with "--".

    GetAggregatedQuoteResponseDataInner

    GetAggregatedQuoteResponseDataInner

    toTokenAmount?: string

    Estimated buy-token amount returned by the vendor (smallest unit, integer string).

    GetAggregatedQuoteResponseDataInner

    tradeFee?: string | null

    Estimated network fee for this route in USD. Null when the vendor does not return one.

    GetAggregatedQuoteResponseDataInner

    vendorName?: string

    Source vendor display name. Possible values include LiquidMesh, Lifi, 1inch, Pancake, Jupiter.

    GetAggregatedQuoteResponseDataInner