evm_get_bridge_status
Check the status and phase of a cross-chain bridge transaction with confirmations, challenge period, and security verification to monitor bridge operations and understand withdrawal delays.
Instructions
Check status and phase of cross-chain bridge transaction with security verification.
Analyzes bridge transaction to determine current phase, confirmations, challenge period status, and security checks. Essential for monitoring bridge operations and understanding withdrawal delays.
CRITICAL RULES:
Read-only operation (no gas cost)
Requires transaction to be bridge-related
L2→L1 withdrawals have 7-day challenge period
Different bridge types have different events
Must check both source and destination chains
Security checks verify merkle proofs and state roots
PARAMETERS:
chain: Source chain where bridge transaction occurred (required)
Must be chain where transaction was initiated
Examples: Arbitrum→Ethereum use 'arbitrum', Polygon→Ethereum use 'polygon'
transactionHash: Bridge transaction hash to check (required)
Format: 0x followed by 64 hex characters
Must be valid bridge transaction
Examples: deposit, withdrawal initiation, message bridge
bridgeType: Type of bridge protocol (optional)
'native': Chain's native bridge (most secure)
'canonical': Official bridge from chain team
'third-party': External bridge protocols
Default: 'canonical'
Affects which events to look for
EXAMPLES: ✅ Check Arbitrum→Ethereum withdrawal status: {chain: "arbitrum", transactionHash: "0x1234...abcd", bridgeType: "canonical"}
✅ Monitor Polygon→Ethereum deposit: {chain: "polygon", transactionHash: "0xabcd...1234"}
✅ Check third-party bridge (Hop/Stargate): {chain: "base", transactionHash: "0x9876...fedc", bridgeType: "third-party"}
❌ Invalid - wrong chain (tx was on Arbitrum, not Ethereum): {chain: "ethereum", transactionHash: "0xArbitrumTx..."}
❌ Invalid - not a bridge transaction: {chain: "arbitrum", transactionHash: "0xRegularSwapTx..."}
SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559
CRITICAL GAS CONSIDERATIONS:
Ethereum: High gas costs, use gas oracle for timing
Polygon/BSC: Very low gas, safe for frequent transactions
Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum
Avalanche: Dynamic fees, can spike during congestion
Always check gas price before executing transactions
TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.
OUTPUT STRUCTURE: • status: Current bridge phase (initiated, confirmed, finalized, completed) • phase: Detailed phase breakdown with progress percentage • confirmations: Number of confirmations received • challengePeriod: Challenge period status (L2→L1 only) • securityChecks: Array of security verification results • estimatedTime: Remaining time to completion • monitoringUrls: Block explorer links for both chains • warnings: Any issues or delays detected • executionTime: Time taken in milliseconds
BRIDGE PHASES:
Initiated: Transaction submitted on source chain
Confirmed: Source chain transaction confirmed
Finalized: Bridge message finalized on source
Executed: Message executed on destination chain
Completed: Final state confirmed on both chains
SECURITY CHECKS:
Merkle proof verification
State root validation
Challenge period monitoring
Validator signature checks
Bridge contract integrity
CHALLENGE PERIODS:
L2→L1 withdrawals: 7 days (can be challenged)
L1→L2 deposits: Usually immediate
Sidechain bridges: Vary by protocol
MONITORING:
Track progress on both source and destination
Use block explorers for visual confirmation
Set up alerts for completion
Monitor for stuck transactions
Running on Linux.
LINUX-SPECIFIC NOTES:
Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)
Python 3 is typically 'python3' command
GNU tools are standard
Use 'xdg-open' command to open files/applications
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"transactionHash": "<transactionHash>"
},
"name": "evm_get_bridge_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Source chain where bridge transaction occurred | |
| bridgeType | No | Bridge protocol type (default: canonical) | |
| transactionHash | Yes | Bridge transaction hash (0x...) |