Shows wallet information
CLI Example
Command syntax:
wallet info
{-addr <addr> | -w <wallet_name>}
-net <net_name>
Options:
-w/-addr - name of the wallet or wallet address
-net - name of the Cellframe network. The list of networks can be found in the <Config_dir> \ etc \ network folder folder or received by the Cellframe-Node-Cli Net List command
Example:
Command:
cellframe-node-cli wallet info
-w personalwallet
-net foobar
Response:
wallet: personalwallet
addr: ptV4n68gTebdUTcbju6cWY9EmUT4L1acBeJic79L8QQXu5SF22crZqqz9G5M18hhqoU7VLUvQm5cu6CJBGZXHyQ3Atzf4sxw2xieywcf
network: foobar
balance: 0
JSON-RPC Example
Command:
curl -X POST http://rpc.cellframe.net/connect -d '{"method":"wallet", "params":["wallet;info;-w;mywallet;-net;foobar"], "id":"1"}'
Response:
{
"type": 0,
"result": "wallet: mywallet\naddr: ptV4n68gTebdUTcbkJSMjJn4GbVLAJJbr4hdQfMfHeZCm2kU8gWsziwnk2amNS8Uv4A6Eq4TjUXTCDSJ6wbKpF5LPgWfXBmPoA1f7dJN\nnetwork: foobar\nbalance: 0",
"errors": null,
"id": 1
}