v2/quote
bridgeWithGas
param set to true
. Learn more about sending gas from one chain to another along with your bridged tokens in the Refuel GuideโGET
requestamount
amount
parameter in the query needs to be decimal adjusted. For example 1 USDC = 1000000 as USDC supports upto 6 decimal places. 1 UNI = 1000000000000000000 as UNI supports upto 18 decimal places. disableSwapping
disableSwapping
param to true
in /v2/quote also requires the param to be set to true in v2/supported/from-token-list as only tokens which can be bridged without swapping need to be shown to a user.recipient
recipient
param needs to be assigned to the receiving address. If it is not passed in the request, the sender is considered as recipient. isContractCall
from
address in a tx is a smart contract. More in SC integration guideโbridgeWithGas
NOTE :
For Single Bridging Transaction, set singleTxOnly
flag totrue
. routeId
fromAmount
toAmount
usedBridgeNames
minimumGasBalances
chainGasBalances
totalUserTx
sender
recipient
totalGasFeesInUsd
userTxs
userTxs.userTxType
userTxs.txType
userTxs.chainId
userTxs.fromAsset
userTxs.fromAmount
userTxs.toAsset
userTxs.toAmount
userTxs.stepCount
userTxs.routePath
Note
:
The token address for the native token of a given chain is 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee/v2/build-tx endpoint
(Single Tx Bridging)route
and refuel
object need to be passed in the body for Refuel+Bridge transactions/v2/route/start
endpoint needs to be called