eth_blockNumber - Etherlink RPC Method
Get the current block height on Etherlink. Essential for syncing dApps, monitoring transaction confirmations, and blockchain state tracking.
Etherlink RPC endpoint: endpoint URLs, plans and pricing.
Returns the number of the most recent block on Etherlink.
When to Use This Method
Read the current block height. The captured height is a recorded observation and changes as the node advances.
Response Body
Code Examples
curl -X POST "https://api-etherlink-mainnet.n.dwellir.com/YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"jsonrpc":"2.0","id":2,"method":"eth_blockNumber","params":[]}'Etherlink RPC Documentation
Connect to Etherlink mainnet through Dwellir's archive HTTPS and WebSocket endpoints. Chain ID 42793, historical state, logs, and call traces.
eth_getBlockByNumber
Retrieve complete block data by block number on Etherlink. Perfect for Etherlink developers building on Etherlink mainnet infrastructure and RPC surface.