eth_getBlockByNumber on Hemi
Everything below was measured on 2026-11-29 by calling eth_getBlockByNumber on Hemi through the same endpoint customers use, and is re-measured weekly.
What eth_getBlockByNumber does
Returns a block by number or tag (latest, safe, finalized, pending, earliest): the header, and either the transaction hashes or the full transactions. Indexers, explorers and wallets use it to follow the chain.
eth_getBlockByNumber on Hemi: what we measured
| Header fields | 26 |
|---|---|
| Transactions per block | 1, 1, 1, 1, 2 in five consecutive blocks |
| Response size, full transactions (true) | 2.8 KB average |
| Response size, hashes only (false) | 1.8 KB |
| Gas limit | 30,000,000 |
| Gas used in the latest block | 54,544 (0.182% of the limit) |
| Base fee | 252 wei |
| Tag "safe" | block 5,838,957 |
| Tag "finalized" | block 5,838,836 |
| Tag "pending" | block 5,838,962 |
| Tag "earliest" | block 0 |
What is different on Hemi
The header includes the fields added by London (EIP-1559 base fee), Shanghai (withdrawals), Cancun (EIP-4844 blob gas), Cancun (EIP-4788 beacon root), Prague (EIP-7685 requests). Code that assumes Ethereum's current header shape will parse it as is.
5 of the 6 transactions in those five blocks were system transactions (5 × type 0x7e, L1-to-L2 deposit (OP Stack)). They are not user activity: filter them out when counting transactions.
"finalized" was 125 blocks (about 25 min) behind the head.
A real Hemi block header
From block 5,838,961, as our endpoint returned it (long hex values shortened).
{
"baseFeePerGas": "0xfc",
"blobGasUsed": "0x0",
"difficulty": "0x0",
"excessBlobGas": "0x0",
"extraData": "0x00000000fa00000006",
"gasLimit": "0x1c9c380",
"gasUsed": "0xd510",
"hash": "0x24ce4218aa6bba8edba09a962b178337fabbd00835abfaf1f0089f1c510c9fbe",
"logsBloom": "0x0000000000000000…(256 bytes)",
"miner": "0x4200000000000000000000000000000000000011",
"mixHash": "0xd0a149335601b1f661402899d930e8e8cb17f7417546eee90ef7dba84e70d6b5",
"nonce": "0x0000000000000000",
"number": "0x591871",
"parentBeaconBlockRoot": "0xc43d0ffc8af2bd6d9a33123260158525cd5673ce6d19d4507e32e703a849e17c",
"parentHash": "0x8a859ade5d05fc182bbd71280f779c5b57ecaa6df958ce96064d2a003ace0288",
"receiptsRoot": "0xf813e94b1ca7f2d1f7415a0f401522c1c55fcd8aebdff2268789bb4e25a065df",
"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x380",
"stateRoot": "0xc77a631f57abbd4fcae8a9bcce27f31036d453bd23f925672819ab7914bc4725",
"timestamp": "0x6b0bc823",
"transactions": "1 transactions",
"transactionsRoot": "0x6baed3ec15b22a3939e784c9790d25ad16288bdf654c7f59eed8ff0984cdb65e",
"uncles": [],
"withdrawals": [],
"withdrawalsRoot": "0x56276741470803db8657a68c5eb1f203e4fbd25582b549194a7b5361332459e0"
}Example request
curl -s https://rpc.swiftnodes.io/rpc/hemi?key=YOUR_API_KEY \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByNumber","params":["latest",false]}'import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/hemi?key=YOUR_API_KEY"),
});
// Header plus transaction hashes (1.8 KB)
const block = await client.getBlock({ blockTag: "latest" });
// With full transactions (2.8 KB on average on Hemi)
const full = await client.getBlock({ blockNumber: block.number, includeTransactions: true });
const userTxs = full.transactions.filter((t) => !["0x7e"].includes(t.typeHex));
// A block that will not be reorganised
const final = await client.getBlock({ blockTag: "finalized" });Other methods on Hemi
- eth_blockNumberSupported
- eth_chainIdSupported
- eth_getBalanceSupported
- 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_blockNot available
- trace_transactionNot available
eth_getBlockByNumber 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
- Lisk
- 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
Frequently asked questions
Does Hemi support eth_getBlockByNumber?
Yes. eth_getBlockByNumber answered on the SwiftNodes Hemi endpoint when our weekly probe called it through the customer path (2026-11-29).
How many transactions are in each Hemi block?
In five consecutive blocks on 2026-11-29: 1, 1, 1, 1, 2.
Hemi endpoints, live block height and WebSocket status are on the Hemi RPC page.
One key covers every chain we serve, and SwiftNodes has a free tier.