Home

Get Block by Number

POST
https://robinhood.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.

Body

application/json

JSON-RPC 2.0 request to the Robinhood Chain mainnet endpoint.

Request payload for Get Block by Number.

jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string>required

Array of parameters: 1. Block number (hex string, e.g., "0x1b4") or special tags ("latest", "earliest", "pending") 2. Boolean flag — if true, return full transactions; if false, only hashes.

idintegerrequired

Request ID

Response

200OK

Block information

500Internal Server Error

Upstream node or gateway error.