eth_getBlockByNumber on Hemi
Everything below was measured on 2026-10-13 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, 1 in five consecutive blocks |
| Response size, full transactions (true) | 2.6 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,502,470 |
| Tag "finalized" | block 5,502,355 |
| Tag "pending" | block 5,502,483 |
| 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 5 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 128 blocks (about 26 min) behind the head.
A real Hemi block header
From block 5,502,482, as our endpoint returned it (long hex values shortened).
{
"baseFeePerGas": "0xfc",
"blobGasUsed": "0x0",
"difficulty": "0x0",
"excessBlobGas": "0x0",
"extraData": "0x00000000fa00000006",
"gasLimit": "0x1c9c380",
"gasUsed": "0xd510",
"hash": "0x30542907fec9ca083ed15185d941704e1644f78ed640bd833d48a6d7350eae5d",
"logsBloom": "0x0000000000000000…(256 bytes)",
"miner": "0x4200000000000000000000000000000000000011",
"mixHash": "0x582c223268359d46e9d5729201edae8e44d2c2913cdac08a93edb3e1084f90ac",
"nonce": "0x0000000000000000",
"number": "0x53f612",
"parentBeaconBlockRoot": "0x8fa566c50aa078d99fea293dd8cf3f62f7e6d018af12688c82ba15a1e3b15919",
"parentHash": "0x80b2b4f815a11445fddca08ac86e7a05953e6f8caa1240eba1231ec371b856c6",
"receiptsRoot": "0xb687cebe53776837633e62eebb0bd6e7c0561689a40f6d22ca038c1c870fd34e",
"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x380",
"stateRoot": "0xe82f8b820061ec15303e24bb8e49fcb87d24e0ca6fd587a10907ec3a787472e1",
"timestamp": "0x6ace2baf",
"transactions": "1 transactions",
"transactionsRoot": "0x35a874912635495014f1109479dbde1ad80bb0fc862effca98ad52deee525a97",
"uncles": [],
"withdrawals": [],
"withdrawalsRoot": "0xe2c89434db986a4866409826aa1c79e701b20b2753f314e75c1a0a5131675c0f"
}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.6 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_maxPriorityFeePerGasSupported
- eth_sendRawTransactionSupported
- eth_getTransactionCountSupported
- eth_getCodeSupported
- eth_subscribeSupported
- eth_getLogsSupported
- eth_getBlockReceiptsSupported
- eth_feeHistorySupported
- 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
- Blast
- 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-10-13).
How many transactions are in each Hemi block?
In five consecutive blocks on 2026-10-13: 1, 1, 1, 1, 1.
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.