Skip to main content

getblockcount RPC Method

Loading...

Updated on
Feb 03, 2026

getblockcount RPC Method

Parameters

This method does not accept any parameters

Returns

result
Loading...
error
Loading...
Request
1
curl -X POST "https://docs-demo.btc.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "getblockcount",
6
"params": [],
7
"id": 1
8
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"result": 933586,
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free