Shows information about all wallet unspent outputs

CLI Example

Command syntax:

wallet outputs  
-net <net_name> 
-token <token_tiker> 
{-addr <addr> | -w <wallet_name>}
[{-cond | -value <uint256_value>}]

Options:

-net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list
-token - name of the token 
-addr/-w - wallet address or wallet name
---
-cond/-value - shows only conditional outputs and list of transactions which contain these outputs (optional) / shows outputs which are not lower than "value" (optional)

Example:

Command:

cellframe-node-cli wallet outputs -w CELLWALLET -token CELL -net Backbone

Response:

wallet_addr: Rj7J7MiX2bWy8sNyX332awQN5KEtihm3p7jwuemmRssX4otCGzoUWnfHf6XotbfjckLCyPgpZy8DM46G8LFDG6eVdfCUPUut7BD3pDFp
total_value_coins: 6.78
total_value_datoshi: 6780000000000000000

outs:

item_type: unspent_out
value_coins: 0.88
value_datosi: 880000000000000000
prev_hash: 0xA0EDE786E3B0F05008D776309F3C7C4B87EF28AC4ADFE47D58A11E8DE4CD1213
out_prev_idx: 3

  
item_type: unspent_out
value_coins: 0.9
value_datosi: 900000000000000000
prev_hash: 0x668F7698E4821127A983F919CE66A4A68E123E9E189ECA0C28127531C491ED18
out_prev_idx: 3

  
item_type: unspent_out
value_coins: 1.0
value_datosi: 1000000000000000000
prev_hash: 0x905F3CBE65C216E2594F2A5BD89FD6386C0C139FA9A5DE91FC8A807A50BE980B
out_prev_idx: 2


item_type: unspent_out
value_coins: 1.0
value_datosi: 1000000000000000000
prev_hash: 0xA69279E9EF405BC8B371BEE4757101B49665B6196249CDA9DB95A7A2E04BB8E4
out_prev_idx: 2

  
item_type: unspent_out
value_coins: 3.0
value_datosi: 3000000000000000000
prev_hash: 0x8BA2AD315346CC47EC035368DF7C623036149EE4AC96E9CD064B75D94E0831A7
out_prev_idx: 1

JSON-RPC Example

Command:

curl -X POST http://rpc.cellframe.net/connect 
-d '{"method":"wallet", "params":["wallet;outputs;-net;KelVPN;-w;WL2;-token;KEL;-value;0.01e+18"], "id":"1"}'

Response:

{
"type": 0,
"result": "total_value: 1000000000000000000
            outs: 
                
                    item_type: unspent_out
                    value: 1000000000000000000
                    prev_hash: 0x9298FD0655D8C6B3D735EFCE6BE7E80F0503FBC6F37B75CF14E0225E4460E13E
                    out_prev_idx: 0",
"errors": null,
"id": 1 
}