RPC method

eth_getBlockByNumber on Base

Supported on SwiftNodes

Everything below was measured on 2026-11-29 by calling eth_getBlockByNumber on Base 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 Base: what we measured

Header fields27 (1 beyond the Ethereum set)
Transactions per block16, 16, 26, 35, 13 in five consecutive blocks
Response size, full transactions (true)26.6 KB average
Response size, hashes only (false)2.8 KB
Gas limit40,000,000
Gas used in the latest block3,076,472 (7.7% of the limit)
Base fee0.00500 gwei
Tag "safe"block 63,708,490
Tag "finalized"block 63,702,812
Tag "pending"block 63,708,749
Tag "earliest"block 63,500,000

What is different on Base

Base blocks carry a field that Ethereum blocks do not. timestampMs: 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 9.3 times larger than hashes only. If you need only some transactions, fetch hashes and request those transactions or their receipts individually.

10 of the 106 transactions in those five blocks were system transactions (10 × type 0x7e, L1-to-L2 deposit (OP Stack)). They are not user activity: filter them out when counting transactions.

"finalized" was 5,925 blocks (about 20 min) behind the head.

A real Base block header

From block 63,708,709, as our endpoint returned it (long hex values shortened).

{
  "hash": "0x1e9c36de1975b3d9e05da60210008b6285a943c25dc8b517197fc63099924b8c",
  "parentHash": "0x11422914e4f785b20978748bfeef14d565e80204575db8f1b9a0938fae56a689",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "miner": "0x4200000000000000000000000000000000000011",
  "stateRoot": "0xc04b0390df9ea7d5110b86d0da5cb5f37eb9be6e097c6ab50d4a69aeaa327a51",
  "transactionsRoot": "0x88eacf8d9164e48eb4e5f999321c2acf95984c9ad318daeded50de63a7048579",
  "receiptsRoot": "0x525bf49a68898c486eb64c59efe2c43ccf864a063baac16856ff3c4498f69537",
  "logsBloom": "0x0020008000402600…(256 bytes)",
  "difficulty": "0x0",
  "number": "0x3cc1e25",
  "gasLimit": "0x2625a00",
  "gasUsed": "0x2ef178",
  "timestamp": "0x6b0bbfd5",
  "extraData": "0x01000003e80000000500000000004c4b40",
  "mixHash": "0x0550ac50646835c7922ddf761d855a25698a21fee6e79fdf6d217678aac3ac1c",
  "nonce": "0x0000000000000000",
  "baseFeePerGas": "0x4c4b40",
  "withdrawalsRoot": "0x008086b073164fb25873cd6c9881309a538eb760016f3ed5d9b5b69451178e9c",
  "blobGasUsed": "0x48c58",
  "excessBlobGas": "0x0",
  "parentBeaconBlockRoot": "0x4ae347f05cd55d04e36c60b68264880afa0bd9cafb82ee4c7c58dc22f94b716b",
  "requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "size": "0x1556",
  "timestampMs": "0x1a225e55998",
  "uncles": [],
  "transactions": "16 transactions",
  "withdrawals": []
}

Example request

curl -s https://rpc.swiftnodes.io/rpc/base?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/base?key=YOUR_API_KEY"),
});

// Header plus transaction hashes (2.8 KB)
const block = await client.getBlock({ blockTag: "latest" });

// With full transactions (26.6 KB on average on Base)
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 Base

eth_getBlockByNumber on other chains

Frequently asked questions

Does Base support eth_getBlockByNumber?

Yes. eth_getBlockByNumber answered on the SwiftNodes Base endpoint when our weekly probe called it through the customer path (2026-11-29).

How many transactions are in each Base block?

In five consecutive blocks on 2026-11-29: 16, 16, 26, 35, 13.

What are timestampMs in a Base block?

timestampMs is not part of the Ethereum JSON-RPC specification; added by this chain's node software.

Base endpoints, live block height and WebSocket status are on the Base RPC page.

One key covers every chain we serve, and SwiftNodes has a free tier.