setlabel

Back to wallet

Wallet

Summary

Sets the label associated with the given address.

Description

Sets the label associated with the given address.

Arguments

  • address (STR, required): The qbit address to be associated with a label.
  • label (STR, required): The label to assign to the address.

Results

  • value (NONE): No description.

Examples

qbit-cli setlabel "qb1zqqqsyqcyq5rqwzqfpg9scrgwpugpzysnzs23v9ccrydpk8qarc0sjq57mw" "tabby"
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "setlabel", "params": ["qb1zqqqsyqcyq5rqwzqfpg9scrgwpugpzysnzs23v9ccrydpk8qarc0sjq57mw", "tabby"]}' -H 'content-type: application/json' http://127.0.0.1:8352/