Quick Start
Key differences
Here’s what’s different when integrating Tron compared to standard EVM chains: Transaction Flow- User sends funds to a Deposit contract with the quote ID
- Socket indexes the transaction and delivers the funds on the destination chain
- Both
userAddressandreceiverAddressrequired for quotes - The only asset supported from/to Tron is Tron USDT
- There is no Fee collection at the moment
Integration Steps
- Select Chains: Users choose the source and destination chains, which determine the tokens available for bridging.
- Fetch Routes: Retrieve the deposit route if available using the
/quoteendpoint. - Submit via Deposit contract: Obtain the transaction data from the
/quoteendpoint. Use this data to execute the deposit transaction on the source chain. - Track Transaction Status: Monitor the transaction’s progress by polling the
/statusendpoint until the bridging process is complete.
For Tron quotes, please ensure both
userAddress and receiverAddress are defined.This is a separate route from autoRoute since it is under depositRoute.Examples
Queries
Quote from Polygon USDC to Tron USDT
Quote from Polygon USDC to Tron USDT
Quote from Tron USDT to Base USDC
Quote from Tron USDT to Base USDC
Scripts
Quote and swap from Tron USDT to Polygon USDC (tronweb)
Quote and swap from Tron USDT to Polygon USDC (tronweb)