ZeroXQuoteRawResponse

constructor(blockNumber: String? = null, buyAmount: String, buyToken: String? = null, fees: ZeroXFees? = null, issues: ZeroXIssues? = null, liquidityAvailable: Boolean? = null, minBuyAmount: String? = null, route: ZeroXRoute? = null, sellAmount: String, sellToken: String? = null, tokenMetadata: ZeroXTokenMetadata? = null, totalNetworkFee: String? = null, transaction: ZeroXTransaction)

Parameters

blockNumber

The block number at which the quote was generated.

buyAmount

The amount of tokens to receive.

buyToken

The token address being bought.

fees

Fee information for the swap.

issues

Any issues detected with the swap.

liquidityAvailable

Whether liquidity is available for this swap.

minBuyAmount

The minimum amount of tokens to receive after slippage.

route

The routing information for the swap.

sellAmount

The amount of tokens being sold.

sellToken

The token address being sold.

tokenMetadata

Metadata about the tokens involved.

totalNetworkFee

The total network fee in wei.

transaction

The transaction object to execute the swap.