RPC method

eth_getBlockByNumber on Taiko

Supported on SwiftNodes

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

Header fields26
Transactions per block1, 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 limit46,000,000
Gas used in the latest block112,056 (0.244% of the limit)
Base fee0.0100 gwei
Tag "safe"block 14,644,159
Tag "finalized"block 14,644,159
Tag "pending"block 14,644,429
Tag "earliest"block 0

What is different on Taiko

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.

"finalized" was 267 blocks (about 9 min) behind the head.

A real Taiko block header

From block 14,644,424, as our endpoint returned it (long hex values shortened).

{
  "hash": "0x1e430387cb62153db7f5f1f37031b8eb42b561d7dcc06a9722c130096b6f7531",
  "parentHash": "0x4a62e47f738cba997f62293c3c519af62749e59e765f858a43a2f2670a68d422",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "miner": "0xad4177e51c84a1d87ea061e569be8a5d7c3cab1f",
  "stateRoot": "0xc32c1fad64030e5ce89ead204731e6374f6054864da028fabac1f95b034e0585",
  "transactionsRoot": "0x4fc0c1aab4ec6d2abe9a5c6c7d40d833357fe0650bf91668e3c1c36bc4d7b92f",
  "receiptsRoot": "0x3e829055075097a74c3963f0dd7e39cf62898e4d6ed8f8e22a3fa866a279b3b0",
  "logsBloom": "0x0000000000000000…(256 bytes)",
  "difficulty": "0x11b632",
  "number": "0xdf74c8",
  "gasLimit": "0x2bde780",
  "gasUsed": "0x1b5b8",
  "timestamp": "0x6b0bc309",
  "extraData": "0x6400000000cc70",
  "mixHash": "0xb377fc017bb5f828d12da1635db33a9cb7895af630c7aa7748d57f250949c1ea",
  "nonce": "0x0000000000000000",
  "baseFeePerGas": "0x989680",
  "withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "blobGasUsed": "0x0",
  "excessBlobGas": "0x0",
  "parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "size": "0x34e",
  "uncles": [],
  "transactions": "1 transactions",
  "withdrawals": []
}

Example request

curl -s https://rpc.swiftnodes.io/rpc/taiko?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/taiko?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 Taiko)
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 Taiko

eth_getBlockByNumber on other chains

Frequently asked questions

Does Taiko support eth_getBlockByNumber?

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

How many transactions are in each Taiko block?

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

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

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