Binance Web3 Connector JS
    Preparing search index...

    Interface BuildSwapTransactionResponseDataRouterResult

    Routing result for the chosen vendor.

    BuildSwapTransactionResponseDataRouterResult

    interface BuildSwapTransactionResponseDataRouterResult {
        binanceChainId?: string;
        dexRouterList?: BuildSwapTransactionResponseDataRouterResultDexRouterListInner[];
        estimateGasFee?: string | null;
        fromToken?: BuildSwapTransactionResponseDataRouterResultFromToken;
        fromTokenAmount?: string;
        priceImpactPercent?: string;
        router?: string;
        toToken?: BuildSwapTransactionResponseDataRouterResultToToken;
        toTokenAmount?: string;
        tradeFee?: string | null;
        vendorName?: string;
    }
    Index

    Properties

    binanceChainId?: string

    Chain identifier echoed from the request.

    BuildSwapTransactionResponseDataRouterResult

    Routing path segments. Same shape as the dexRouterList returned by /quote.

    BuildSwapTransactionResponseDataRouterResult

    estimateGasFee?: string | null

    Estimated gas in the chain's smallest unit (e.g. wei).

    BuildSwapTransactionResponseDataRouterResult

    BuildSwapTransactionResponseDataRouterResult

    fromTokenAmount?: string

    Sell-token amount (smallest unit, integer string).

    BuildSwapTransactionResponseDataRouterResult

    priceImpactPercent?: string

    Price impact percentage. Formula (received_value − sent_value) / sent_value.

    BuildSwapTransactionResponseDataRouterResult

    router?: string

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

    BuildSwapTransactionResponseDataRouterResult

    BuildSwapTransactionResponseDataRouterResult

    toTokenAmount?: string

    Estimated buy-token amount (smallest unit, integer string).

    BuildSwapTransactionResponseDataRouterResult

    tradeFee?: string | null

    Estimated network fee in USD.

    BuildSwapTransactionResponseDataRouterResult

    vendorName?: string

    Vendor that supplied the executed quote (e.g. LiquidMesh, Lifi, 1inch, Pancake, Jupiter).

    BuildSwapTransactionResponseDataRouterResult