RPC method

eth_getBlockByNumber on Mantle

Supported on SwiftNodes

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

Header fields26
Transactions per block1, 1, 1, 1, 1 in five consecutive blocks
Response size, full transactions (true)2.6 KB average
Response size, hashes only (false)1.8 KB
Gas limit60,000,000
Gas used in the latest block46,299 (0.077% of the limit)
Base fee50.00 gwei
Tag "safe"block 103,900,954
Tag "finalized"block 103,900,504
Tag "pending"block 103,901,144
Tag "earliest"block 0

What is different on Mantle

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 639 blocks (about 21 min) behind the head.

A real Mantle block header

From block 103,901,140, as our endpoint returned it (long hex values shortened).

{
  "baseFeePerGas": "0xba43b7400",
  "blobGasUsed": "0x0",
  "difficulty": "0x0",
  "excessBlobGas": "0x0",
  "extraData": "0x0100000032000000040000000ba43b7400",
  "gasLimit": "0x3938700",
  "gasUsed": "0xb4db",
  "hash": "0x1ceb2237473edf3e36dc81d299d2a99b772c56febee1916e5f380d02e4572965",
  "logsBloom": "0x0000000000000000…(256 bytes)",
  "miner": "0x4200000000000000000000000000000000000011",
  "mixHash": "0xfc052004e585ed58772690a5f97fd1be018961ff06de3ca6d25ff884119ba815",
  "nonce": "0x0000000000000000",
  "number": "0x63167d4",
  "parentBeaconBlockRoot": "0x1d9b520398247bdb9a77b32712fbbe209f5b484caed1b79d1897d470e2627ff7",
  "parentHash": "0xb53d3f5347cb3d8c786b757dee738d3881b9d45c68a70a6fb257af5a4f44ad48",
  "receiptsRoot": "0x74cf646e910ffb147115148f6beeafc558ab5fa6b5655156e03cf67e977e81f5",
  "requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "size": "0x390",
  "stateRoot": "0x824d01264c8b2014e7e09cf2f34ecc9c65cd101518925072b9e2d32800a66aa6",
  "timestamp": "0x6b0bc1b0",
  "transactions": "1 transactions",
  "transactionsRoot": "0xcb5cb251e95137a22afeaa5f903877b9fbc7006c22f16d28348a6f1bce20631b",
  "uncles": [],
  "withdrawals": [],
  "withdrawalsRoot": "0xc232afc0a3d5321137d0503aff24204d527c7087d4a669c1f636592ccccc405c"
}

Example request

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

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

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

eth_getBlockByNumber on other chains

Frequently asked questions

Does Mantle support eth_getBlockByNumber?

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

How many transactions are in each Mantle block?

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

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

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