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

btg
Bitcoin Gold (BTG)

Method: POST verifychain

dropdown

方法 RPC verifychain 例如 Bitcoin Gold (BTG)

POST verifychain

Method not allowed

验证区块链数据库。

Parameters

checklevel - 数字,可选,默认值= 3,范围= 0-4

块验证有多彻底

nblocks - 数字,可选,默认值= 6,0 =全部

要检查的块数。

Request

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


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}