RPC method

eth_getBlockByNumber on Ethereum Classic

Supported on SwiftNodes

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

Header fields20
Transactions per block0, 0, 0, 0, 0 in five consecutive blocks
Response size, full transactions (true)1.5 KB average
Response size, hashes only (false)1.6 KB
Gas limit8,000,000
Gas used in the latest block0 (0.000% of the limit)
Base feeno baseFeePerGas field
Tag "safe"not served (safe block not found)
Tag "finalized"not served (finalized block not found)
Tag "pending"block 25,826,901
Tag "earliest"block 0

What is different on Ethereum Classic

The "safe" and "finalized" tags were not served on Ethereum Classic. Code that waits for "safe" needs a fallback, such as latest minus a confirmation count.

A real Ethereum Classic block header

From block 25,826,900, as our endpoint returned it (long hex values shortened).

{
  "number": "0x18a1654",
  "hash": "0xe22360e84fb2411122de1b963da22d141d820ab766e7631d89a15d2deb81d6ca",
  "parentHash": "0x50a06c283f70e616066762c830b2340f4e0e264b53cafd4fc84f717ae4e0b8d2",
  "nonce": "0x62231a1ca10acc39",
  "mixHash": "0xf806d605d0c4d6e0ab19fea9872a3b9708b98129984af9ac80913d9c043d6519",
  "sha3Uncles": "0x2fc23528c3033f1eb000bc8921e495f5f7c548018d85bc8d9f79c06841abca71",
  "logsBloom": "0x0000000000000000…(256 bytes)",
  "stateRoot": "0xdc94b8a25018dab0bc4616ac1f9a23e0594aab8ab26ce8241b178030103e8c74",
  "miner": "0x406177b983c28eb720827985ef5953e8430d4e95",
  "difficulty": "0x897b89936d2ee",
  "totalDifficulty": "0x5be7a4499a19d9a932d",
  "extraData": "0xe4b883e5bda9e7a59ee4bb99e9b1bc02096b0bc3ee25",
  "gasLimit": "0x7a1200",
  "gasUsed": "0x0",
  "timestamp": "0x6b0bc3ee",
  "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "transactions": "0 transactions",
  "uncles": [
    "0x512cb084a6e64c756004636d37e74accf1390ac8c9fa5edc375ea13cebab0c1e",
    "0xc2dd8f26213dd8a601f2a64e0d60c3b601b4e5038446101cbecf3de5e367f6e2"
  ],
  "size": "0x64b"
}

Example request

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

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

// With full transactions (1.5 KB on average on Ethereum Classic)
const full = await client.getBlock({ blockNumber: block.number, includeTransactions: true });

Other methods on Ethereum Classic

eth_getBlockByNumber on other chains

Frequently asked questions

Does Ethereum Classic support eth_getBlockByNumber?

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

How many transactions are in each Ethereum Classic block?

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

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

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