Home

Get block hash by block number

POST
https://tao.nownodes.io/chain_getBlockHash

Authorizations

ApiKeyAuthApiKeyAuth

API_key string

NOWNodes API key passed in the api-key header.

Returns the block hash using the block number in the chain.

Body

application/json

JSON-RPC request parameters

jsonrpcstringrequired

JSON-RPC version

idstringrequired

Request identifier

methodstringrequired

Method name

paramsArray<integer>required

Array containing block number

Response

200OK

Block hash by block number

400Bad Request

Malformed address or application ID

401Unauthorized

Invalid API key

500Internal Server Error

Internal server error