1.5 Notes
All EVM address parameters must include the "0x" prefix
Amount parameters use string format to avoid precision loss
The
amountOut
in the response represents the estimated token amount to receive after all fees deducted.The API automatically performs risk detection, with security status reflected in the
isRisk
field. IfisRisk
istrue
, please DO NOT initiate any transactions.The chainID used by EVM chains is the wallet chainID, for example, ethereum is 1, bsc is 56. The chainID for non-EVM chains is a custom chainID, which can refer to the table below. If it's not in the table, you can press F12 on the network page of the xflows.wanchain.org website to capture the required chainID value in real-time getQuotes API calls.
Solana
501
Tron
195
Cardano
2147485463
Bitcoin
2147483648
SUI
2147484432
Last updated