RPC method

eth_getBlockByNumber on Fraxtal

Supported on SwiftNodes

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

Header fields26
Transactions per block1, 2, 1, 2, 4 in five consecutive blocks
Response size, full transactions (true)3.6 KB average
Response size, hashes only (false)1.8 KB
Gas limit30,000,000
Gas used in the latest block48,367 (0.161% of the limit)
Base fee254 wei
Tag "safe"block 44,561,047
Tag "finalized"block 44,560,504
Tag "pending"block 44,561,142
Tag "earliest"block 0

What is different on Fraxtal

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

5 of the 10 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 637 blocks (about 21 min) behind the head.

A real Fraxtal block header

From block 44,561,139, as our endpoint returned it (long hex values shortened).

{
  "hash": "0x4c9d819d12fb668a8fe1fc1d96ae98b7a51ddfce00e0288e04b26a163841d8f8",
  "parentHash": "0xb7e12a0b1d5c9a3aa0021457435e34ad8f7cb8beef19fa2984813ddeb69181e8",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "miner": "0x4200000000000000000000000000000000000011",
  "stateRoot": "0xba70f395c49d4508b6d8fc24ae69f35a1a451a6aaac480db8ecefe3453363501",
  "transactionsRoot": "0x610ddd511312b11342d74804728f1d94c50b727a385fbe73106ccc7c53252ba0",
  "receiptsRoot": "0x01d3f905a7f4cb2b5033cde6e5300467e8b722b224aa7827254b06555d39b813",
  "logsBloom": "0x0000000000000000…(256 bytes)",
  "difficulty": "0x0",
  "number": "0x2a7f2f3",
  "gasLimit": "0x1c9c380",
  "gasUsed": "0xbcef",
  "timestamp": "0x6b0bc33d",
  "extraData": "0x00000000fa0000000a",
  "mixHash": "0xf7b620e6bb1ec9f703d085b8af69e83208972b52469791e7f620b458a013c46f",
  "nonce": "0x0000000000000000",
  "baseFeePerGas": "0xfe",
  "withdrawalsRoot": "0x586b9b7ec6c9f85e4a7aecb30c56b5deee771d476b26f037e01a4323f7e58676",
  "blobGasUsed": "0x0",
  "excessBlobGas": "0x0",
  "parentBeaconBlockRoot": "0x3f261356d98e0412ff133ffb4f898c153ff4dae13a2476988449c2cfba96f040",
  "requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "size": "0x381",
  "uncles": [],
  "transactions": "1 transactions",
  "withdrawals": []
}

Example request

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

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

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

eth_getBlockByNumber on other chains

Frequently asked questions

Does Fraxtal support eth_getBlockByNumber?

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

How many transactions are in each Fraxtal block?

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

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

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