getblock
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns information about the block with the given block hash. Optional verbosity levels determine the level of detail in the response:
0: Returns a string that is serialized, hex-encoded data for the block.1: Returns a JSON object with basic block details and txids.2: Returns a JSON object with detailed transaction info.3: Returns a JSON object with detailed transaction inputs (vin) include prevout information describing the spent outputs.
Body
application/json
jsonrpcstringrequiredidstringrequiredmethodstringgetblockrequiredparamsArray<string | integer>requiredParameters:
blockhash(string) – The hash of the blockverbosity(integer, optional) – Level of detail: 0, 1, 2 or 3
Response
200OK
Block information retrieved successfully
401Unauthorized
Unauthorized
500Internal Server Error
Internal Server Error