⚡ We welcome businesses to test our enterprise-grade service

btc
Bitcoin (BTC)

Method: POST preciousblock

dropdown

方法 RPC preciousblock 例如 Bitcoin (BTC)

POST preciousblock

将块视为在具有相同工作的其他人之前收到。

稍后的宝块调用可以覆盖较早的调用的效果。

重新启动后不保留珍贵区块的效果。

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


Response

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