RPC method

eth_getBlockReceipts on Metal L2

Supported on SwiftNodes

Measured 2026-12-06 by our weekly probe, which calls eth_getBlockReceipts through the same Metal L2 endpoint customers use.

What eth_getBlockReceipts does

Returns every transaction receipt in a block in one call, instead of one eth_getTransactionReceipt request per transaction. Indexers and accounting pipelines use it to read a whole block's outcomes and logs at once.

eth_getBlockReceipts on Metal L2: what we measured

  • Metal L2 produces a block every 2.0 s, so following the chain with eth_getBlockReceipts is one request per block.
  • The finalized tag trails the head by about 667 blocks (22 minutes). Results newer than that can still change in a reorg; query up to "finalized" if you need settled data.

Example request

curl -s https://rpc.swiftnodes.io/rpc/metal-l2?key=YOUR_API_KEY \
  -X POST -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_getBlockReceipts","params":["latest"]}'
import { createPublicClient, http } from "viem";

const client = createPublicClient({ transport: http("https://rpc.swiftnodes.io/rpc/metal-l2?key=YOUR_API_KEY") });

// Any JSON-RPC method, typed loosely: eth_getBlockReceipts on Metal L2
const result = await client.request({
  method: "eth_getBlockReceipts",
  params: ["latest"],
});

Other methods on Metal L2

eth_getBlockReceipts on other chains

Support differs by chain; the full measured table is on the eth_getBlockReceipts reference.

Frequently asked questions

Does Metal L2 support eth_getBlockReceipts?

Yes. eth_getBlockReceipts answered correctly on the SwiftNodes Metal L2 endpoint in our weekly method probe (2026-12-06), which sends real requests through the customer path.

Are there limits on eth_getBlockReceipts on Metal L2?

Metal L2 produces a block every 2.0 s, so following the chain with eth_getBlockReceipts is one request per block.

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

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