RPC method

eth_getBlockByNumber on Gnosis

Supported on SwiftNodes

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

Header fields26
Transactions per block27, 33, 20, 41, 37 in five consecutive blocks
Response size, full transactions (true)52.1 KB average
Response size, hashes only (false)4.5 KB
Gas limit17,000,000
Gas used in the latest block4,549,194 (26.8% of the limit)
Base fee10 wei
Tag "safe"block 48,735,397
Tag "finalized"block 48,735,381
Tag "pending"block 48,735,413
Tag "earliest"block 0

What is different on Gnosis

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 11.5 times larger than hashes only. If you need only some transactions, fetch hashes and request those transactions or their receipts individually.

"finalized" was 31 blocks (about 3 min) behind the head.

A real Gnosis block header

From block 48,735,411, as our endpoint returned it (long hex values shortened).

{
  "number": "0x2e7a4b3",
  "hash": "0x941d3aadf46417a487a193afcf0954cdd297c5205a2b1400a6cf81728313b731",
  "parentHash": "0x7c958c573bed815abe298d75d8f5bf88e5c60c6c5a27b27b0c47fe7a5f55490b",
  "nonce": "0x0000000000000000",
  "mixHash": "0xefadfd8ace0fd3b5c54daacdb46c11a9adfd2652a8804356c7345514f5296570",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "logsBloom": "0x0800040010211840…(256 bytes)",
  "stateRoot": "0x96ae03e78a0a66b0541c0a313ffe10dbb52f79e23e61cfd09c179aee4098362c",
  "miner": "0x86ead908fb5d6f900ff109c9e26f79300f99271a",
  "difficulty": "0x0",
  "extraData": "0x4e65746865726d696e642076312e33392e33",
  "gasLimit": "0x1036640",
  "gasUsed": "0x456a4a",
  "timestamp": "0x6ace2592",
  "transactionsRoot": "0x4e1a933e839f46ccf281d0cbe267beff8ea6c8a9326a998fb9c2e850e99a4c97",
  "receiptsRoot": "0xc65413cee0e92aac4c26ddb6d96e74a10a7e8df6a09fafd394a048ac10e98a1d",
  "baseFeePerGas": "0xa",
  "withdrawalsRoot": "0x4d134c0a15c9d9a53fbbbd2329c58d9e8a9487912769f85ceba976fb328dd176",
  "blobGasUsed": "0x0",
  "excessBlobGas": "0x0",
  "parentBeaconBlockRoot": "0x6cadcb77f106efc34a017508f82b9425fb6a226f7688c738b0c269e7aa1211a5",
  "requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "size": "0x38f3",
  "transactions": "27 transactions",
  "uncles": [],
  "withdrawals": [
    {
      "index": "0x94a9f0a",
      "validatorIndex": "0x8566a",
      "address": "0x99c08fa36cca01bf4c84904749ec10a1d0a735c1",
      "amount": "0x114053"
    },
    {
      "index": "0x94a9f0b",
      "validatorIndex": "0x8566b",
      "address": "0x99c08fa36cca01bf4c84904749ec10a1d0a735c1",
      "amount": "0x11404e"
    },
    "…6 more"
  ]
}

Example request

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

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

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

eth_getBlockByNumber on other chains

Frequently asked questions

Does Gnosis support eth_getBlockByNumber?

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

How many transactions are in each Gnosis block?

In five consecutive blocks on 2026-10-13: 27, 33, 20, 41, 37.

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

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