RPC method

eth_getBlockByNumber on Lisk

Supported on SwiftNodes

Everything below was measured on 2026-11-22 by calling eth_getBlockByNumber on Lisk 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 Lisk: 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 block45,978 (0.077% of the limit)
Base fee1,015 wei
Tag "safe"block 40,278,683
Tag "finalized"block 40,278,203
Tag "pending"block 40,278,683
Tag "earliest"not served (Temporary internal error. Please retry, trace-id: 9a7399e8cf73f8cfcfaa05ed3eaa5086)

What is different on Lisk

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.

A real Lisk block header

From block 40,278,677, as our endpoint returned it (long hex values shortened).

{
  "number": "0x2669a95",
  "hash": "0x69374e00bf2c6aceec93f35ce386bf493481b2af574f89de254e637c84b5bc28",
  "parentHash": "0x1309f276fdc2470f1020a70aa0a50503ed6714f269b786bd9a257af0690d25c9",
  "nonce": "0x0000000000000000",
  "mixHash": "0x8100053937db5c1711f67d40bfe13db342688b0d60dcadb5c3db5c279e897947",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "logsBloom": "0x0000000000000000…(256 bytes)",
  "stateRoot": "0xe93ada6b93c1e6d2d0b3837aa9265f9f0b788456d5115a0cbe3be9a1a7282092",
  "miner": "0x4200000000000000000000000000000000000011",
  "difficulty": "0x0",
  "extraData": "0x01000003e8000000140000000000000000",
  "size": "0x38c",
  "gasLimit": "0x3938700",
  "gasUsed": "0xb39a",
  "timestamp": "0x6b01e481",
  "transactionsRoot": "0x3864a11de777b02c81c0b860add3ab68325c8cd5561c8a30656c8c258fd62449",
  "receiptsRoot": "0xb9a7616cd30d99f24ce27857afe6965cfd537a328e496dd0a52ee53c59be2f2f",
  "baseFeePerGas": "0x3f7",
  "withdrawalsRoot": "0x06a347e51c6d90528cf342e7c31fde5817bed4b6a02af00de300e90e23bc81d3",
  "blobGasUsed": "0x0",
  "excessBlobGas": "0x0",
  "parentBeaconBlockRoot": "0xa21d082ac2bb7dbfa6b48d7e6a179db25945116c00a05bf563ce5ecdccf5665f",
  "requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "uncles": [],
  "transactions": "1 transactions",
  "withdrawals": []
}

Example request

curl -s https://rpc.swiftnodes.io/rpc/lisk?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/lisk?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 Lisk)
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 Lisk

eth_getBlockByNumber on other chains

Frequently asked questions

Does Lisk support eth_getBlockByNumber?

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

How many transactions are in each Lisk block?

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

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

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