Skip to main content

getblockcount RPC Method

Returns the height of the fully-validated chain. The genesis block has a height of 0.

Updated on
Apr 29, 2026

Parameters

This method does not accept any parameters

Returns

result
integer

The current block count

error
string

(Optional) The error message, if any

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": 3323688
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": 3323688
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free