Data Bridge API
Cross-chain messaging and USDC liquidity routing.
1. Overview
Move execution commands or liquidity (USDC) from Base network securely across other L1s/L2s using verified relayer signatures.
2. Use Cases
- An agent on Base executing an arbitrage trade on Arbitrum.
- Funding an agent on Solana from your main Base account magically.
3. Pricing
- Fee: 0.3% per bridged transaction.
- Min Fee: $0.05 per transfer.
- Min Lock: $12 / project.
4. API
POST /v1/bridge/intent
Request:
{ "targetChain": "ethereum", "amount": 50, "token": "USDC" }
Response:
{ "ok": true, "bridgeId": "0x123..." }
5. Examples & 6. Errors
402 BUDGET_EXHAUSTED handles bridge-halting nicely: if lock drops below $12, the bridge refuses to initiate.
7. Best Practices
Query GET /v1/bridge/status/:id using polling to confirm execution on the target chain. Expected latency is 5-15 seconds.