API Base URL
All Bridge Service endpoints follow this structure:Health & Status
GET / - Service Health Check
Example Request:
status: Service health indicatorversion: API version for compatibility checksnetwork_id: Primary network being serveduptime: Service runtime durationlast_processed_block: Latest indexed block number
GET /sync-status - Component Synchronization Status
Example Request:
Bridge Transaction Queries
GET /bridges - Query Bridge Transactions
Parameters:
Example Request Patterns:
tx_hash: Bridge transaction identifierdeposit_count: Sequential index for proof generationamount: Bridge amount in wei/token unitsready_for_claim: Whether transaction can be claimedblock_timestamp: When the bridge occurred
Claim Tracking
GET /claims - Query Claim Transactions
Key Parameters:
Example Usage:
Proof Generation
GET /claim-proof - Generate Claim Proof
Generates the cryptographic proofs required to claim bridged assets. Pass the entire proof object returned to your claim contract function.
Required Parameters:
Example Request:
Additional Utilities
GET /l1-info-tree-index - Get L1 Info Tree Index
Returns the L1 Info Tree index required for the leaf_index parameter in /claim-proof.
GET /token-mappings - Token Information
Get token mapping information for cross-chain token relationships.
Use Case: Display token information and cross-chain mappings in bridge interfaces.
Error Handling
Common Error Scenarios:
Example Error Response: