eth_chainId - Flow EVM RPC Method
Get the chain ID for Flow EVM Gateway. Essential for transaction signing and network verification.
Returns the chain ID used for transaction signing on Flow EVM Gateway.
Why Flow EVM? Build on the EVM-equivalent layer on Flow blockchain enabling Cadence+Solidity composability with full EVM equivalence on Flow, atomic multi-operation transactions, 40% lower gas fees, and 473% contract growth in 2025.
Use Cases
The eth_chainId method is essential for:
- Transaction signing - Ensure transactions are signed for the correct network
- Network verification - Confirm connection to the expected chain
- Multi-chain apps - Handle different networks programmatically
- Wallet integration - Validate network before transactions
Code Examples
Related Methods
net_version- Get network versioneth_syncing- Check sync status
debug_traceTransaction
Trace a transaction execution on Flow EVM Gateway. Requires archive node for debugging consumer NFTs (NBA Top Shot, Disney Pinnacle), gaming dApps, and hybrid Cadence-EVM applications.
eth_syncing
Check the sync status of your Flow EVM Gateway node. Returns sync progress or false when fully synced — essential for node health monitoring and dApp reliability.