Get Block by Hash
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the block information for the specified block hash. The second parameter indicates whether to return full transaction objects or just transaction hashes.
Body
application/json
JSON-RPC request envelope.
jsonrpcstring2.0requiredJSON-RPC protocol version.
methodstringeth_getBlockByHashrequiredJSON-RPC method name.
paramsArray<string | boolean>requiredArray of parameters:
- Block hash (string)
- Boolean flag — if true, return full transactions; if false, only hashes.
idintegerrequiredIdentifier echoed in the response.
Response
200OK
Block information