Skip to content
DMD coin

listlabels

Wallet command of DebitMyData Core 1.3.5.

listlabels ( "purpose" )

Returns the list of all labels, or labels that are assigned to addresses with a specific purpose.

1. purpose (string, optional) Address purpose to list labels for ('send','receive'). An empty string is the same as not providing this argument.
[ (json array)
"str", (string) Label name
...
]

List all labels

Terminal window
debitmydata-cli listlabels

List labels that have receiving addresses

Terminal window
debitmydata-cli listlabels receive

List labels that have sending addresses

Terminal window
debitmydata-cli listlabels send

As a JSON-RPC call

Terminal window
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "listlabels", "params": [receive]}' -H 'content-type: application/json' http://127.0.0.1:18557/