GET /trade/v1/{chainId}/quote/cross
Find all available quotes for cross-chain trade via Unizen DEX Aggregator
Last updated
Find all available quotes for cross-chain trade via Unizen DEX Aggregator
Last updated
The chain ID of the chain to quote on.
137
The response is an array of objects, with each object representing one provider. Currently, we support two interoperable providers for cross-chain transactions: Stargate, Celer
If there is no trade required on source chain, srcTradeList is an empty array
If there is no trade required on destination chain, dstTradeList is an empty array
Source trade details
Destination trade details
An object containing information on the parameters of the transaction.
The total value of the transaction in native currency
"29422186306758765852"
A string representation of the native fee associated with the transaction
"1070050644652846329"
The time it took for the transaction to be processed
1000
The protocol used to execute the transaction (CROSS_CHAIN_STARGATE | CROSS_CHAIN_CELER)
"CROSS_CHAIN_CELER"
Type of cross-chain trade quotes
"TRADE_ON_BOTH"
A CHAINS enum value representing the source chain
137
A CHAINS enum value representing the destination chain
43114
Version of the contract, V1 or V2
"V1"
The interoperability provider information
the estimated amount of gas needed for the transaction, if disableEstimate is set to false
"11231133211313"
the estimate gas error, returned from RPC, if disableEstimate is set to false
"Execution reverted"
Gas Price
"56442235035"