RPC method

eth_getBlockByNumber on BOB

Supported on SwiftNodes

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

Header fields26
Transactions per block2, 1, 1, 1, 2 in five consecutive blocks
Response size, full transactions (true)3.0 KB average
Response size, hashes only (false)1.9 KB
Gas limit30,000,000
Gas used in the latest block172,683 (0.576% of the limit)
Base fee19,805 wei
Tag "safe"block 41,535,759
Tag "finalized"block 41,533,977
Tag "pending"block 41,536,091
Tag "earliest"block 0

What is different on BOB

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 7 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 2,113 blocks (about 70 min) behind the head.

A real BOB block header

From block 41,536,085, as our endpoint returned it (long hex values shortened).

{
  "number": "0x279ca55",
  "hash": "0x48e53f7fc24ae7206b077ffc074d6bcfcd917248794c71f0e548dc992299d003",
  "parentHash": "0xc1a298608104bc39097e514ca4be157a489570ebd60df04a45d17e8d476dc9af",
  "nonce": "0x0000000000000000",
  "mixHash": "0xfa9eb1b8cb537fbc7883a4d5cd9c709e26f80fcb1793f1ed05cb4455324abd73",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "logsBloom": "0x0000000000000000…(256 bytes)",
  "stateRoot": "0x04ad18f138718bd54e02b27e2fdae88119b74955f526ee53fd5b02c691524bb8",
  "miner": "0x4200000000000000000000000000000000000011",
  "difficulty": "0x0",
  "extraData": "0x01000000fa000000060000000000000000",
  "size": "0x4df",
  "gasLimit": "0x1c9c380",
  "gasUsed": "0x2a28b",
  "timestamp": "0x6b0bc7cd",
  "transactionsRoot": "0xf00b0bfeac5d525efb9ce3b025e5889ca127a78f3c640f130a34ea54b56b80f6",
  "receiptsRoot": "0x313eb301057b1216926a0e385844374c509b2b53baf3e15bbb65b0c9cd4f0e18",
  "baseFeePerGas": "0x4d5d",
  "withdrawalsRoot": "0x6521f4faded626d0b7b824f0bec02b84c9d13cebce90a52163303484aafda65a",
  "blobGasUsed": "0xc670",
  "excessBlobGas": "0x0",
  "parentBeaconBlockRoot": "0x2665b85b268b0dbdf7710d1c4f8122d7a8aeecfb4eb810c3a8afa5c727c8a2c3",
  "requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "uncles": [],
  "transactions": "2 transactions",
  "withdrawals": []
}

Example request

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

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

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

eth_getBlockByNumber on other chains

Frequently asked questions

Does BOB support eth_getBlockByNumber?

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

How many transactions are in each BOB block?

In five consecutive blocks on 2026-11-29: 2, 1, 1, 1, 2.

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

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