Home

Get Block by Hash

POST
https://cronos.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the Cronos block for the given block hash. Set the second parameter to true for full transaction objects or false for transaction hashes.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringeth_getBlockByHashrequired

JSON-RPC method name

paramsArray<string | boolean>required

Array of parameters:

  1. Block hash (string)
  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