⚡ We welcome businesses to test our enterprise-grade service

bch
Bitcoin Cash (BCH)

Method: POST getdsprooflist

dropdown

方法 RPC getdsprooflist 例如 Bitcoin Cash (BCH)

POST getdsprooflist

方法不允许

列出内存池中交易的双花证明。

Parameters

verbosity - 数字,可选,默认=0

值 0-3 会随着详细程度的每次增加逐渐返回更多信息。此选项也可以指定为布尔值,其中 false 与verbosity=0 相同,true 与verbosity=2 相同。

include_orphans - 布尔值,可选,默认=false

如果为真,则还包括我们知道但用于我们还没有的交易的双花证明。

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


Response

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