Flow Overview
Bridging Tokens
Bridging tokens between chains is a two-step process using the Routing endpoints.Compute a route
Call Compute Route (
POST /v2/fungible/route) with the source and destination assets and the amount to transfer. The API evaluates available pathways (IBC, LayerZero, Optimistic bridges, etc.) and returns the optimal route, including the expected output amount and an operations array describing each hop.Generate transaction messages
Pass the route details to Generate Transaction (
POST /v2/fungible/msgs) along with the relevant addresses and slippage tolerance. The API returns signable transaction messages for the source chain.Tracking Transfers
Because the transaction is signed and broadcast outside the Router API’s scope, the API has no knowledge of the transaction until the application explicitly provides the transaction hash. The transaction must be registered before its cross-chain progress can be monitored.Register the transaction
After broadcasting, call Track Transaction (
POST /v2/tx/track) once with the transaction hash and the chain ID where it was submitted. This registers the transaction with the tracking service so it can begin watching for relay events and bridge confirmations across chains.Endpoint Reference
| Step | Endpoint | Purpose |
|---|---|---|
| 1 | POST /v2/fungible/route | Find the optimal route |
| 2 | POST /v2/fungible/msgs | Get signable transaction messages |
| 3 | (wallet/SDK) | Sign and broadcast to the chain |
| 4 | POST /v2/tx/track | Register the tx hash for tracking |
| 5 | GET /v2/tx/status | Poll until transfer completes |