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

bch
Bitcoin Cash (BCH)

Method: POST listwallets

dropdown

方法 RPC listwallets 例如 Bitcoin Cash (BCH)

POST listwallets

方法不允许

返回当前加载的钱包列表。

有关钱包的完整信息,请使用“getwalletinfo”

Parameters

-

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


Response

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