For the complete documentation index, see llms.txt. This page is also available as Markdown.

GET /blocks/tip/height

Returns the height of the last block.

This method will use 10 Compute Units.


Parameters

None.

Returns

Returns the height of the last block.

910886
curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/blocks/tip/height \
 -X GET
curl https://testnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/blocks/tip/height \
 -X GET

Last updated

Was this helpful?