GET /block/:hash/status
Returns the block status.
This method will use 10
Compute Units.
Parameters
block
- block hash, required.
Example: 0000000000000000000226ab487ff1a8456a30feb1bde3d65b6a67128074e19a
Returns
Returns the block status.
Available fields: in_best_chain
(boolean, false for orphaned blocks), next_best
(the hash of the next block, only available for blocks in the best chain).
{
"in_best_chain": true,
"height": 910150,
"next_best": "00000000000000000000c4fbeb08c6ef3f52e6d74dc461ac2f66e26e467bce29"
}
curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/block/0000000000000000000226ab487ff1a8456a30feb1bde3d65b6a67128074e19a/status \
-X GET
Last updated
Was this helpful?