eth_getBlockByNumber on Core
Everything below was measured on 2026-11-29 by calling eth_getBlockByNumber on Core 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 Core: what we measured
| Header fields | 28 (1 beyond the Ethereum set) |
|---|---|
| Transactions per block | 5, 5, 1, 5, 6 in five consecutive blocks |
| Response size, full transactions (true) | 5.7 KB average |
| Response size, hashes only (false) | 2.6 KB |
| Gas limit | 50,000,000 |
| Gas used in the latest block | 44,137,180 (88.3% of the limit) |
| Base fee | 0 wei |
| Tag "safe" | block 40,873,024 |
| Tag "finalized" | block 40,873,023 |
| Tag "pending" | block 40,873,026 |
| Tag "earliest" | block 0 |
What is different on Core
Core blocks carry a field that Ethereum blocks do not. milliTimestamp: specific to this chain's node software, not part of the Ethereum JSON-RPC specification. Strict schema validators need to allow it.
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.
Asking for full transactions (second parameter true) made the response 2.2 times larger than hashes only. If you need only some transactions, fetch hashes and request those transactions or their receipts individually.
A real Core block header
From block 40,873,023, as our endpoint returned it (long hex values shortened).
{
"baseFeePerGas": "0x0",
"blobGasUsed": "0x0",
"difficulty": "0x2",
"excessBlobGas": "0x0",
"extraData": "0xd98301001b846765…(279 bytes)",
"gasLimit": "0x2faf080",
"gasUsed": "0x2a17adc",
"hash": "0x5bd82385165556d40bee8429cc9c0b69deb78b3e9c7ae41cc3e5dcc5fff2566d",
"logsBloom": "0x1000000010000800…(256 bytes)",
"milliTimestamp": "0x1a225fa2058",
"miner": "0x258f1d17e3dc298c0276c824238422ddeaca1619",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000000",
"number": "0x26fac3f",
"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
"parentHash": "0x2c05f3d0c76ab3dd1ac3e0d6759393d221a24a67acb81d53717c02fca7deccd9",
"receiptsRoot": "0xec4a9a37df579bad4d8a73b66ddc2c5d9951ef0dfbd53371404c127658e1bdf2",
"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x7da",
"stateRoot": "0x3620e9184915f0873d26c0c376fe0ae0716938f10ad64e07da26d773928f7c0d",
"timestamp": "0x6b0bc527",
"totalDifficulty": "0x4ddda33",
"transactions": "5 transactions",
"transactionsRoot": "0x22a48f4e8a59ea0d66d3795fb8e8fd80c5722a003a11df35b8a34733c4140826",
"uncles": [],
"withdrawals": [],
"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}Example request
curl -s https://rpc.swiftnodes.io/rpc/core?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/core?key=YOUR_API_KEY"),
});
// Header plus transaction hashes (2.6 KB)
const block = await client.getBlock({ blockTag: "latest" });
// With full transactions (5.7 KB on average on Core)
const full = await client.getBlock({ blockNumber: block.number, includeTransactions: true });
// A block that will not be reorganised
const final = await client.getBlock({ blockTag: "finalized" });Other methods on Core
- 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_blockSupported
- 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
- Hemi
- X Layer
- BOB
- Plasma
- Fraxtal
- Zora
- Story
- Soneium
- Sei
- Hyperliquid
- Taiko
- Morph
- Ink
- Katana
- Ethereum Classic
- opBNB
- Mode
- Flare
- Chiliz
- Telos EVM
- Tempo
- Cronos
- Manta Pacific
- Shibarium
- Boba Network
- Arbitrum Nova
- Immutable zkEVM
Frequently asked questions
Does Core support eth_getBlockByNumber?
Yes. eth_getBlockByNumber answered on the SwiftNodes Core endpoint when our weekly probe called it through the customer path (2026-11-29).
How many transactions are in each Core block?
In five consecutive blocks on 2026-11-29: 5, 5, 1, 5, 6.
What are milliTimestamp in a Core block?
milliTimestamp is not part of the Ethereum JSON-RPC specification; added by this chain's node software.
Core endpoints, live block height and WebSocket status are on the Core RPC page.
One key covers every chain we serve, and SwiftNodes has a free tier.