10 Compute Units.
Reference: Here
Parameters
block height- string, required.
Example: 785365
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
10 Compute Units.
GET /api/v2/block-index/<block height>
block height- string, required.
Example: 785365
{
"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"
curl https://testnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY_HERE>/api/v2/block-index/785365 \
-X GET \
-H "Content-Type: application/json"