Get block hash
Retrieves a Bitcoin block hash for a given block height.
This method will use 10 Compute Units.
Reference: Here
GET /api/v2/block-index/<block height>Parameters
block height- string, required.
Example: 785365
Returns
{
"blockHash": "00000000000000000004a49543c0b6e2043e67b513c0d9100fbdf91f662c3ad1"
}curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY_HERE>/api/v2/block-index/785365 \
-X GET \
-H "Content-Type: application/json"Last updated
Was this helpful?