Get Block Hash

Get the block hash for a specific block height

Get Block Hash
Retrieve the hash of a block by its height

Endpoint

GET /api/blocks/height/:height

Parameters

  • height - The block height to retrieve the hash for

Code Examples

curl https://api.deccord.com/api/blocks/height/1

Response Format

{
  "hash": "000007439b73a629c562b80e49fd039d5eab0d9021237bb05d6953e7f22bb3db"
}
Try It Out
Test the API endpoint directly in your browser