Skip to main content

listwallets

Command#

pacprotocol-cli listwallets

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

Examples#

pacprotocol-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:1111/

Result#

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

Running following help command

pacprotocol-cli help listwallets

Will produce following output:

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:
> pacprotocol-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:1111/