getblockcount RPC Method
Parameters
This method does not accept any parameters
Returns
result
integer
Loading...
error
string
Loading...
id
integer
Loading...
Request
1curl https://docs-demo.bch-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"id":1,"jsonrpc":"2.0","method":"getblockcount"}'
1curl https://docs-demo.bch-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"id":1,"jsonrpc":"2.0","method":"getblockcount"}'
Response
1{2"result": 913618,3"error": null,4"id": 15}
1{2"result": 913618,3"error": null,4"id": 15}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free