TxRelay API (Beta)
TxRelay is the official cross-chain bridge for TxFlow. Deposits from Ethereum, Base, Solana, and other networks, and withdrawals back to those networks, go through these /api/v1/bridge routes. They are served by a host of their own — not the node and not the API service.
- Content-Type:
application/json
Networks
| Mainnet | Testnet | |
|---|---|---|
Host — /api/v1/bridge | https://api-bridge.txflow.com | https://devnet-bridge.txflow.net |
Channel
channel_id selects which product the peg / deposit address is issued for. TxFlow clients always send 0. A different channel (for example 1) returns a different deposit_address for the same route.
channel_id | Product |
|---|---|
0 | TxFlow |
1 | YN (do not mix with TxFlow routes) |
How it fits with /info and /exchange
| Step | Deposit (external → TxFlow) | Withdraw (TxFlow → external) |
|---|---|---|
| 1 | GET /networks | same |
| 2 | POST /deposit-address with dst_chain: "txflow" | src_chain: "txflow", dst_chain = external chain |
| 3 | User sends the asset on the source chain to deposit_address | tokenSend the TxFlow asset to that peg |
Native Arbitrum USDC out is withdraw3, not TxRelay.
Routes
| Method | Path | Returns |
|---|---|---|
GET | /api/v1/bridge/networks | Chains, tokens, fees, and enable flags |
POST | /api/v1/bridge/deposit-address | One-time deposit / peg address for a route |