eth_blockNumber on HashKey Chain
Everything below was measured on 2026-12-06 by calling eth_blockNumber on HashKey Chain through the same endpoint customers use, and is re-measured weekly.
What eth_blockNumber does
Returns the number of the most recent block the node has, as a hex string. It is the cheapest way to tell whether a node is keeping up and the usual starting point for polling a chain.
eth_blockNumber on HashKey Chain: what we measured
| Head block when measured | 31,096,023 (0x1da7cd7) |
|---|---|
| Age of that block when read | 0 s |
| Average block time (last 1,000 blocks) | 2.0 s |
| Median gap between newHeads over WebSocket | 2.0 s |
| "safe" behind the head | 153 blocks (about 5 min) |
| "finalized" behind the head | 693 blocks (about 23 min) |
What this means for polling
At 2.0 s per block, a one-second poll returns a new number on roughly one call in 2. Polling at the block time keeps you current without wasting requests.
The number eth_blockNumber returns is the newest block, which can still change in a reorg. On HashKey Chain, "finalized" was 693 blocks (about 23 min) behind it and "safe" 153 blocks behind. Use eth_getBlockByNumber("finalized") when you need a height that will not change.
Compared with other chains
Measured by the gap between WebSocket headers, HashKey Chain has the 33rd fastest block cadence of the 54 chains we measure.
Example request
curl -s https://rpc.swiftnodes.io/rpc/hashkey?key=YOUR_API_KEY \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/hashkey?key=YOUR_API_KEY"),
});
const head = await client.getBlockNumber(); // bigint
// Follow the chain: poll about once per block (2.0 s on HashKey Chain)
const unwatch = client.watchBlockNumber({
pollingInterval: 2000,
onBlockNumber: (n) => console.log("new head", n),
});Other methods on HashKey Chain
- eth_chainIdSupported
- eth_getBalanceSupported
- eth_getBlockByNumberSupported
- eth_getTransactionByHashSupported
- eth_getTransactionReceiptSupported
- eth_callSupported
- eth_estimateGasSupported
- eth_gasPriceSupported
- eth_feeHistorySupported
- eth_maxPriorityFeePerGasSupported
- eth_sendRawTransactionSupported
- eth_getTransactionCountSupported
- eth_getCodeSupported
- eth_subscribeSupported
- eth_getLogsSupported
- eth_getBlockReceiptsSupported
- eth_getProofSupported
- eth_createAccessListSupported
- debug_traceCallSupported
- trace_blockSupported
- trace_transactionSupported
eth_blockNumber on other chains
- Ethereum
- Base
- Arbitrum
- Optimism
- Polygon
- BNB Smart Chain
- Avalanche
- Sonic
- Linea
- Scroll
- zkSync Era
- Mantle
- Gnosis
- Celo
- Berachain
- Monad
- Unichain
- Kaia
- PulseChain
- World Chain
- Ronin
- Abstract
- ApeChain
- MegaETH
- Fantom
- Hemi
- X Layer
- BOB
- Plasma
- Fraxtal
- Zora
- Story
- Soneium
- Sei
- Hyperliquid
- Taiko
- Morph
- Ink
- Katana
- Ethereum Classic
- opBNB
- Mode
- Flare
- Core
- Chiliz
- Telos EVM
- Tempo
- Cronos
- Manta Pacific
- Shibarium
- Boba Network
- Arbitrum Nova
- Immutable zkEVM
- Arc
- Tea
- Metal L2
- Doma
Frequently asked questions
Does HashKey Chain support eth_blockNumber?
Yes. eth_blockNumber answered on the SwiftNodes HashKey Chain endpoint when our weekly probe called it through the customer path (2026-12-06).
How fast are blocks on HashKey Chain?
About 2.0 s per block, averaged over recent blocks (measured 2026-12-06).
How often should I poll eth_blockNumber on HashKey Chain?
About once per block, every 2.0 s. Faster polling mostly returns the same number.
HashKey Chain endpoints, live block height and WebSocket status are on the HashKey Chain RPC page.
One key covers every chain we serve, and SwiftNodes has a free tier.