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

btc
Bitcoin (BTC)

Method: POST setexcessiveblock

dropdown

方法 RPC setexcessiveblock 例如 Bitcoin (BTC)

POST setexcessiveblock

方法不允许

设置过大的块大小。过多的块将不会在活动链中使用或中继。

这会阻止您认为过大的块的传播。

Parameters

maxBlockSize - 数字,必填

块大小过大(以字节为单位)。必须大于 1000000。

Request

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


Response

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