bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/setlabel
Wallet

setlabel

Sets the label associated with the given address.

Parameters

addressstringREQUIRED
The bitcoin address
labelstringREQUIRED
The label to assign

Returns

nullnull on success

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"setlabel","params":["bc1q...","payments"]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

null
← Previous
sendmany
Next →
settxfee

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗