📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

grs
Groestlcoin (GRS)

Method: POST getblockcount

dropdown

方法 RPC getblockcount 例如 Groestlcoin (GRS)

POST getblockcount

返回工作最全面验证的链的高度。

创世纪的高度为0。

Parameters

-

Request

curl --location --request POST 'https://grs.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "getblockcount",
"params": [],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "result": 998928
}