The estimated fees for the swap.
The amount of the fromToken
that will be sent in this swap, in atomic units of the fromToken
. For example, 1000000000000000000
when sending ETH equates to 1 ETH, 1000000
when sending USDC equates to 1 USDC, etc.
The 0x-prefixed contract address of the token that will be sent.
An object containing potential issues discovered during validation that could prevent the swap from being executed successfully.
Whether sufficient liquidity is available to settle the swap. All other fields in the response will be empty if this is false.
The minimum amount of the toToken
that must be received for the swap to succeed, in atomic units of the toToken
. For example, 1000000000000000000
when receiving ETH equates to 1 ETH, 1000000
when receiving USDC equates to 1 USDC, etc. This value is influenced by the slippageBps
parameter.
The amount of the toToken
that will be received in atomic units of the toToken
. For example, 1000000000000000000
when receiving ETH equates to 1 ETH, 1000000
when receiving USDC equates to 1 USDC, etc.
The 0x-prefixed contract address of the token that will be received.
The block number at which the liquidity conditions were examined.