RPC method

eth_blockNumber on Hyperliquid

Supported on SwiftNodes

Everything below was measured on 2026-10-13 by calling eth_blockNumber on Hyperliquid through the same endpoint customers use, and is re-measured weekly.

What eth_blockNumber does

Returns the number of the most recent block the node has, as a hex string. It is the cheapest way to tell whether a node is keeping up and the usual starting point for polling a chain.

eth_blockNumber on Hyperliquid: what we measured

Head block when measured48,433,513 (0x2e30969)
Age of that block when read0 s
Average block time (last 1,000 blocks)984 ms
Median gap between newHeads over WebSocket985 ms
"safe" behind the head0 blocks
"finalized" behind the head0 blocks

What this means for polling

At 984 ms per block, a one-second poll returns a new number on roughly every call. Polling at the block time keeps you current without wasting requests.

"finalized" pointed at the head block itself on Hyperliquid: its nodes report each new block as finalized, so the tag adds no safety over "latest". If you need settlement on Ethereum or protection from deep reorgs, check Hyperliquid's own finality rules rather than the tag.

Compared with other chains

Measured by the gap between WebSocket headers, Hyperliquid has the 12th fastest block cadence of the 40 chains we measure.

Example request

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

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

const head = await client.getBlockNumber(); // bigint

// Follow the chain: poll about once per block (984 ms on Hyperliquid)
const unwatch = client.watchBlockNumber({
  pollingInterval: 984,
  onBlockNumber: (n) => console.log("new head", n),
});

Other methods on Hyperliquid

eth_blockNumber on other chains

Frequently asked questions

Does Hyperliquid support eth_blockNumber?

Yes. eth_blockNumber answered on the SwiftNodes Hyperliquid endpoint when our weekly probe called it through the customer path (2026-10-13).

How fast are blocks on Hyperliquid?

About 984 ms per block, averaged over recent blocks (measured 2026-10-13).

How often should I poll eth_blockNumber on Hyperliquid?

Polling cannot keep up with 984 ms blocks; subscribe to newHeads over WebSocket instead.

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

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