1.5 Notes

  1. All EVM address parameters must include the "0x" prefix

  2. Amount parameters use string format to avoid precision loss

  3. The amountOut in the response represents the estimated token amount to receive after all fees deducted.

  4. The API automatically performs risk detection, with security status reflected in the isRisk field. If isRisk is true, please DO NOT initiate any transactions.

  5. 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.

Chain Name
Custom ChainID

Solana

501

Tron

195

Cardano

2147485463

Bitcoin

2147483648

SUI

2147484432

Last updated