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

btc
Bitcoin (BTC)

Method: POST scantxoutset

dropdown

方法 RPC scantxoutset 例如 Bitcoin (BTC)

POST scantxoutset

方法不允许

实验警告:此调用可能会在未来版本中删除或更改。

Parameters

action - 字符串,必填

执行“start”以开始扫描“abort”以中止当前扫描的操作(中止成功时返回true)

scanobjects - json数组

扫描对象数组。 “开始”操作所需。每个扫描对象要么是字符串描述符要么是对象

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


Response

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