Returned true if route involves only a DEX swap tx
Amount of token being sent on sending chain
Amount of token to be received on the destination chain
Array of bridge names used by route
Minimum balances of native token needed to pay for gas on chains involved in bridging
Total number of user transactions involved in route
Address of transaction sender
Address of receiver on destination chain
Gas fees in USD for route
Array of transactions in the bridging route
Type of transaction to be performed by user. Values on Types page.
Type of transaction. Values on Types page.
Chain ID where the transaction is executed
Object with meta data of input asset
Amount of sending asset involved in step
Object with meta data of output asset
Expected output from the transaction
Number of steps in a transaction in route (For e.g Swap+Bridge is one transaction with 2 steps)
ID of DEX-Bridge used in a given transaction
Transaction data for token approval. It is null for native token transfers. For ERC 20 tokens, allowance needs to be checked
Array of steps involved in user transaction. This param is not returned when there's only one step in transaction, for e.g directly bridging
Type of step in transaction. Values in Types page
Slippage set for bridge. This will be the default slippage, unless specified in quote. If a bridge does not support slippage, value is 0. Read more on bridge slippage here.
Slippage set for swaps. This will be the default slippage, unless specified in quote.
Minimum receiving amount estimated considering slippage.
Object with meta data of protocol used in step
Returns the fee amount deducted by DEX/Bridge and the token in which it's deducted.
Object with information of gas paid by user for bridging tx
Estimated time in seconds for completion of bridging
Estimated maximum time in seconds in which bridging should complete
Address of recipient/receiver on destination chain
Object metadata of sending token
ID of sending chain. e.g Ethereum = 1
Object metadata of receiving token
ID of destination chain, e.g Optimism = 10
Unique ID for a given route
Object returned when
bridgeWithGas set to true and Refuel supports given route
Reasons for bridges not returning a route
Returned only if
MIN_AMOUNT_NOT_MET. This value can be used to let the user know to increase input amount
Returned only if
MAX_AMOUNT_EXCEEDED.This value can be used to let the user know to lower input amount