Home

Get Block by Number

POST
https://elysium.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the block information for the specified block number. The second parameter indicates whether to return full transaction objects or just transaction hashes.

Returns an Elysium L2 block. The finalized tag may lag latest due to batch settlement on HyperEVM.

Supported block tags include latest, safe, finalized, pending and earliest.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringeth_getBlockByNumberrequired

JSON-RPC method name

paramsArray<string | boolean>required

Array of parameters:

  1. Block number (hex string, e.g., "0x1b4") or special tags ("latest", "earliest", "pending", "safe", "finalized")
  2. Boolean flag — if true, return full transactions; if false, only hashes.
Show child attributes
One of
string
boolean
idintegerrequired

Request ID

Response

200OK

Block information