eth_getBlockByNumber on Katana
Everything below was measured on 2026-11-29 by calling eth_getBlockByNumber on Katana 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 Katana: what we measured
| Header fields | 26 |
|---|---|
| Transactions per block | 1, 1, 1, 1, 1 in five consecutive blocks |
| Response size, full transactions (true) | 2.7 KB average |
| Response size, hashes only (false) | 1.8 KB |
| Gas limit | 120,000,000 |
| Gas used in the latest block | 46,266 (0.039% of the limit) |
| Base fee | 0.0500 gwei |
| Tag "safe" | block 49,190,106 |
| Tag "finalized" | block 49,189,266 |
| Tag "pending" | block 49,190,517 |
| Tag "earliest" | block 0 |
What is different on Katana
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 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,249 blocks (about 21 min) behind the head.
A real Katana block header
From block 49,190,509, as our endpoint returned it (long hex values shortened).
{
"hash": "0x4ddb59830e4442ea1281dc40dd4cf785d23036386f758c13465c69497d0f3ced",
"parentHash": "0xc75c4745601131be23e87ad5455bfbaea2a3605f77b8ecfaf3a82e10336ecc85",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"miner": "0x4200000000000000000000000000000000000011",
"stateRoot": "0x354f9022ea654c7e9beb7eb52fd40167e0e4622a0e6b14d760cd42683ecec7f5",
"transactionsRoot": "0x54a40a592490f3d1c7d49be9e7ddc8da2d11cb330862539ddafd2b9531dee05f",
"receiptsRoot": "0x5d0cf392a26e41e0e8c33fd3809b7175294f2383b32365b8ff3d566e3f18d9d1",
"logsBloom": "0x0000000000000000…(256 bytes)",
"difficulty": "0x0",
"number": "0x2ee966d",
"gasLimit": "0x7270e00",
"gasUsed": "0xb4ba",
"timestamp": "0x6b0bc488",
"extraData": "0x0100000032000000060000000002faf080",
"mixHash": "0x568d6778e2bcafdd740d2ce91200bd7342e6bfe62e7159656e851b0147b4c789",
"nonce": "0x0000000000000000",
"baseFeePerGas": "0x2faf080",
"withdrawalsRoot": "0x2efab7d25aded3b12ef7639ec3a5bc0bafd507da1ff2d44e761b443ebada9931",
"blobGasUsed": "0x0",
"excessBlobGas": "0x0",
"parentBeaconBlockRoot": "0xcccadc0c87c2ac85564d40c1eaf159ee2598cc0ec5a87c78011d46d31621739f",
"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"size": "0x38e",
"uncles": [],
"transactions": "1 transactions",
"withdrawals": []
}Example request
curl -s https://rpc.swiftnodes.io/rpc/katana?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/katana?key=YOUR_API_KEY"),
});
// Header plus transaction hashes (1.8 KB)
const block = await client.getBlock({ blockTag: "latest" });
// With full transactions (2.7 KB on average on Katana)
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 Katana
- 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
- Ethereum Classic
- opBNB
- Mode
- Flare
- Core
- Chiliz
- Telos EVM
- Tempo
- Cronos
- Manta Pacific
- Shibarium
- Boba Network
- Arbitrum Nova
- Immutable zkEVM
Frequently asked questions
Does Katana support eth_getBlockByNumber?
Yes. eth_getBlockByNumber answered on the SwiftNodes Katana endpoint when our weekly probe called it through the customer path (2026-11-29).
How many transactions are in each Katana block?
In five consecutive blocks on 2026-11-29: 1, 1, 1, 1, 1.
Katana endpoints, live block height and WebSocket status are on the Katana RPC page.
One key covers every chain we serve, and SwiftNodes has a free tier.