RPC method

eth_getBlockByNumber on Arc

Supported on SwiftNodes

Everything below was measured on 2026-12-06 by calling eth_getBlockByNumber on Arc 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 Arc: what we measured

Header fields26
Transactions per block0, 1, 0, 3, 0 in five consecutive blocks
Response size, full transactions (true)3.4 KB average
Response size, hashes only (false)1.7 KB
Gas limit30,000,000
Gas used in the latest block0 (0.000% of the limit)
Base fee20.00 gwei
Tag "safe"block 34,904,396
Tag "finalized"block 34,904,398
Tag "pending"not served (null)
Tag "earliest"block 34,500,000

What is different on Arc

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.

The "pending" tag was not served on Arc. Code that waits for "pending" needs a fallback, such as latest minus a confirmation count.

A real Arc block header

From block 34,904,384, as our endpoint returned it (long hex values shortened).

{
  "hash": "0x48a905aa956f24b25a6774f2d85bbbcd6c9932572868a2c91ee350a27c649141",
  "parentHash": "0x3bb29c90a6098f8f3d2c5445e383bfec2dbaa0cf7a29d989b3f4ae6be092deef",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "miner": "0x2756042d816a74117c0bc0bb2caed145ecf88b3f",
  "stateRoot": "0xca2a076b7d968cfb5c9f79ffc097c8a5e5266a46bfaae60b182fda74008edc26",
  "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "logsBloom": "0x0000000000000000…(256 bytes)",
  "difficulty": "0x0",
  "number": "0x2149940",
  "gasLimit": "0x1c9c380",
  "gasUsed": "0x0",
  "timestamp": "0x6b15019a",
  "extraData": "0x00000004a817c800",
  "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "nonce": "0x0000000000000000",
  "baseFeePerGas": "0x4a817c800",
  "withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "blobGasUsed": "0x0",
  "excessBlobGas": "0x0",
  "parentBeaconBlockRoot": "0x3bb29c90a6098f8f3d2c5445e383bfec2dbaa0cf7a29d989b3f4ae6be092deef",
  "requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "size": "0x275",
  "uncles": [],
  "transactions": "0 transactions",
  "withdrawals": []
}

Example request

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

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

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

eth_getBlockByNumber on other chains

Frequently asked questions

Does Arc support eth_getBlockByNumber?

Yes. eth_getBlockByNumber answered on the SwiftNodes Arc endpoint when our weekly probe called it through the customer path (2026-12-06).

How many transactions are in each Arc block?

In five consecutive blocks on 2026-12-06: 0, 1, 0, 3, 0.

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

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