⚡ We welcome businesses to test our enterprise-grade service

btg
Bitcoin Gold (BTG)

Method: POST gettxoutsetinfo

dropdown

方法 RPC gettxoutsetinfo 例如 Bitcoin Gold (BTG)

POST gettxoutsetinfo

Method not allowed

返回有关未解决事务输出集的统计信息。

请注意,此通话可能需要一些时间。

Parameters

hash_type - 字符串,可选,默认= hash_serialized_2

应该计算哪个UTXO集哈希。 选项:'hash_serialized_2'(旧版算法),'none'。

Request

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


Response

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