Skip to content

listwallets JSON-RPC command

listwallets

Returns a list of currently loaded wallets.
For full information on the wallet, use "getwalletinfo"

Result

[                         (json array of strings)
  "walletname"            (string) the wallet name
   ...
]

Examples

> bitcoin-cli listwallets
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/

Bitcoin Cash Node Daemon version v28.0.1-4b729ce

Documentation on docs.bitcoincashnode.org reflects the current master branch in Git, and may include API changes that are not yet present in the latest release.