Get block information by block hash
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns information about a block specified by its hash.
The second parameter determines whether full transaction objects or
only transaction hashes are returned.
Body
Returns information about a block specified by its hash.
The second parameter determines whether full transaction objects or
only transaction hashes are returned.
Request payload for Get block information by block hash.
jsonrpcstringrequiredJSON-RPC protocol version (always "2.0")
methodstringrequiredThe JSON-RPC method name
paramsArray<string>requiredArray of parameters:
- Block hash (string)
- Boolean flag — if true, return full transactions; if false, only hashes.
idintegerrequiredRequest identifier
Response
Successful response
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
JSON-RPC method or upstream error