RPC method

eth_getBlockByNumber on Boba Network

Supported on SwiftNodes

Everything below was measured on 2026-10-13 by calling eth_getBlockByNumber on Boba Network 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 Boba Network: what we measured

Header fields25
Transactions per block1, 1, 1, 1, 1 in five consecutive blocks
Response size, full transactions (true)2.5 KB average
Response size, hashes only (false)1.7 KB
Gas limit30,000,000
Gas used in the latest block43,875 (0.146% of the limit)
Base fee252 wei
Tag "safe"block 40,445,097
Tag "finalized"block 40,443,633
Tag "pending"block 40,445,601
Tag "earliest"block 0

What is different on Boba Network

The header includes the fields added by London (EIP-1559 base fee), Shanghai (withdrawals), Cancun (EIP-4844 blob gas), Cancun (EIP-4788 beacon root), but not those of Prague (EIP-7685 requests). Code that assumes Ethereum's current header shape must treat the missing ones as optional.

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 1,966 blocks (about 66 min) behind the head.

A real Boba Network block header

From block 40,445,596, as our endpoint returned it (long hex values shortened).

{
  "baseFeePerGas": "0xfc",
  "blobGasUsed": "0x0",
  "difficulty": "0x0",
  "excessBlobGas": "0x0",
  "extraData": "0x00000000fa00000006",
  "gasLimit": "0x1c9c380",
  "gasUsed": "0xab63",
  "hash": "0x6af83a40fafbd1f974956493fc937e03cfa941fd60db6dff84a32458673e18cc",
  "logsBloom": "0x0000000000000000…(256 bytes)",
  "miner": "0x4200000000000000000000000000000000000011",
  "mixHash": "0xc3102fd3e132498ce1f36cb96df98464b3bbc30f7cc6683d4702e1c53063fa32",
  "nonce": "0x0000000000000000",
  "number": "0x269269c",
  "parentBeaconBlockRoot": "0x286c5ac9d2ebb9be95bca5bd6dbcf9ad5681af9302f224a27c776ea0cbfe35f2",
  "parentHash": "0xa9ad2eadb043325ad1193c67c7d10c383d0aaff6e0dcaa375a83c747422619ff",
  "receiptsRoot": "0x29041c548d0a26b9bacf4ab2d1fa5258cc638969353208ead7d0184253da9da2",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "size": "0x351",
  "stateRoot": "0x3048c2afcb594c9fc64a9f51e1776792850b43a917d38cb7e26bf291ce04b458",
  "timestamp": "0x6ace29e1",
  "transactions": "1 transactions",
  "transactionsRoot": "0xe1b718fc6b1ae5a2bda2f9ea9f698aad4f78cda1142bf4412b11e8fd8dc70219",
  "uncles": [],
  "withdrawals": [],
  "withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}

Example request

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

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

// With full transactions (2.5 KB on average on Boba Network)
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 Boba Network

eth_getBlockByNumber on other chains

Frequently asked questions

Does Boba Network support eth_getBlockByNumber?

Yes. eth_getBlockByNumber answered on the SwiftNodes Boba Network endpoint when our weekly probe called it through the customer path (2026-10-13).

How many transactions are in each Boba Network block?

In five consecutive blocks on 2026-10-13: 1, 1, 1, 1, 1.

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

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