ord_getCurrentBlockHeight RPC Method
Please note that this method requires the Ordinals & Runes API add-on enabled on your QuickNode endpoint.
Parameters
This method does not accept any parameters
Returns
result
string
Returns the last block height
Request
1curl --location 'https://docs-demo.btc.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"method": "ord_getCurrentBlockHeight",5"params": [],6"id": 1,7"jsonrpc": "2.0"8}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free