⚡ We welcome businesses to test our enterprise-grade service

grs
Groestlcoin (GRS)

Method: POST pruneblockchain

dropdown

方法 RPC pruneblockchain 例如 Groestlcoin (GRS)

POST pruneblockchain

Method not allowed

修剪链链高度

Parameters

height - 数字,需要

块高度要修剪。 可以设置为离散的高度,或者设置为UNIX时期的时间,该时间块至少比提供的时间戳大至少2小时。

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": "pruneblockchain",
"params": [null],
"id": "getblock.io"}'


Response

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