GET /trade/v1/{chainId}/quote/cross
Find all available quotes for cross-chain trade via Unizen DEX Aggregator
[just text field] Please enter token in following format: Bearer
The chain ID of the chain to quote on.
137Possible values: The address of the token being traded. If native, use address zero.
0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270The address of the token to receive in exchange. If native, use address zero.
0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7Amount of tokens being traded
10000000000000000000The chain ID of the destination network.
43114Possible values: The address of the sender.
0x54c47034887C582Fc1Af4a9a3b68180a8a9eF2d2The address of the receiver of the funds.
bc1qf7cd6pvs9sqnkr0nadsuhgecy8prnc9t8k0jnyThe maximum slippage percentage allowed.
0.005The timestamp of the transaction deadline.
1685541105List of dexes excluded by chain
{"1":["0x0000000000000"]}The percentage of price impact protection, from 0 to 1
0.5The fee percentage, from 0 to 1
The percentage of slippage protection, from 0 to 1, default 0.5
0.5Disable estimate gas, default is true.
Whether it is an exact out trade.
Whether split trade is enabled. Default is true.
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
[{}]An object containing information on the parameters of the transaction.
The total value of the transaction in native currency
29422186306758765852A string representation of the native fee associated with the transaction
1070050644652846329The time it took for the transaction to be processed
1000The protocol used to execute the transaction (CROSS_CHAIN_STARGATE | CROSS_CHAIN_CELER)
CROSS_CHAIN_CELERType of cross-chain trade quotes
TRADE_ON_BOTHA CHAINS enum value representing the source chain
137A CHAINS enum value representing the destination chain
43114Version of the contract, V1 or V2
V1The interoperability provider information
{"name":"Celer","contractVersion":"v2","logo":"https://api.zcx.com/data/logo/interoperability-provider/cbridge.svg"}the estimated amount of gas needed for the transaction, if disableEstimate is set to false
11231133211313the estimate gas error, returned from RPC, if disableEstimate is set to false
Execution revertedGas Price
56442235035The response is an array of objects, with each object representing one provider. Currently, we support two interoperable providers for cross-chain transactions: Stargate, Celer
Last updated