⚡ We welcome businesses to test our enterprise-grade service

btc
Bitcoin (BTC)

Method: POST parkblock

dropdown

方法 RPC parkblock 例如 Bitcoin (BTC)

POST parkblock

方法不允许

将块标记为已停放。

Parameters

blockhash - 字符串,必填

要停放的区块的哈希值

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


Response

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