RPC method

eth_getBlockByNumber on Sei

Supported on SwiftNodes

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

Header fields22 (1 beyond the Ethereum set)
Transactions per block0, 0, 0, 0, 0 in five consecutive blocks
Response size, full transactions (true)1.4 KB average
Response size, hashes only (false)1.4 KB
Gas limit12,500,000
Gas used in the latest block0 (0.000% of the limit)
Base fee50.00 gwei
Tag "safe"block 245,962,590
Tag "finalized"block 245,962,593
Tag "pending"block 245,962,596
Tag "earliest"block 0

What is different on Sei

Sei blocks carry a field that Ethereum blocks do not. milliTimestamp: specific to this chain's node software, not part of the Ethereum JSON-RPC specification. Strict schema validators need to allow it.

The header includes the fields added by London (EIP-1559 base fee), but not those of Shanghai (withdrawals), Cancun (EIP-4844 blob gas), Cancun (EIP-4788 beacon root), Prague (EIP-7685 requests). Code that assumes Ethereum's current header shape must treat the missing ones as optional.

A real Sei block header

From block 245,962,570, as our endpoint returned it (long hex values shortened).

{
  "baseFeePerGas": "0xba43b7400",
  "difficulty": "0x0",
  "extraData": "0x",
  "gasLimit": "0xbebc20",
  "gasUsed": "0x0",
  "hash": "0xac842a70801093c1642ce27317a9da9e3f8531a8a643ce1575fd7add3eb0cbe8",
  "logsBloom": "0x0000000000000000…(256 bytes)",
  "milliTimestamp": "0x1a225e9a83c",
  "miner": "0xab873ff0a3f0bd6d36712004c61ce8bf5970eb60",
  "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "nonce": "0x0000000000000000",
  "number": "0xea9174a",
  "parentHash": "0xd3e85ec4a8eace193102ac290dd7c9526ead02d49cc88e5a973ae8bbb48f8b68",
  "receiptsRoot": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "size": "0x127b",
  "stateRoot": "0x0cb103d044576d16ca7edcd5e96de8ac6d3d195a2cff7538b9f639aba9c8b85b",
  "timestamp": "0x6b0bc0ef",
  "totalDifficulty": "0x0",
  "transactions": "0 transactions",
  "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "uncles": []
}

Example request

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

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

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

eth_getBlockByNumber on other chains

Frequently asked questions

Does Sei support eth_getBlockByNumber?

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

How many transactions are in each Sei block?

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

What are milliTimestamp in a Sei block?

milliTimestamp is not part of the Ethereum JSON-RPC specification; added by this chain's node software.

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

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