Get Block by Number
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the Cronos block for the given block number. Set the second parameter to true for full transaction objects or false for transaction hashes. The example uses an explicit block number.
Body
application/json
jsonrpcstringrequiredJSON-RPC version
methodstringeth_getBlockByNumberrequiredJSON-RPC method name
paramsArray<string | boolean>required- Block number (hexadecimal quantity) or block tag such as latest. Other tags were not tested.
- Boolean: true returns full transactions; false returns hashes.
idintegerrequiredRequest ID
Response
200OK
Block information