⚡ We welcome businesses to test our enterprise-grade service

bch
Bitcoin Cash (BCH)

Method: POST gettxoutsetinfo

dropdown

方法 RPC gettxoutsetinfo 例如 Bitcoin Cash (BCH)

POST gettxoutsetinfo

方法不允许

返回有关未花费交易输出集的统计信息。

请注意,此调用可能需要一些时间。

Parameters

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

应该计算哪个 UTXO 集散列。选项'hash_serialized_2'(传统算法),'none'。”

Request

curl --location --request POST 'https://bch.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"
}