Home

Get block details

POST
https://near.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns information about a specific block. You can specify the block by its hash, height, or finality. Finality options: "optimistic" (latest block) or "final" (block that has been finalized by consensus).

Body

application/json
jsonrpcstring2required

JSON-RPC version specification

idstringrequired

Request identifier for matching responses

methodstringblockrequired

RPC method name

paramsobject | objectrequired

Block identification parameters

Response

200OK

Successful block information response