Last updated 23 days ago
address - string, required
address
The bitcoin address to be associated with a label.
label - string, required
label
The label to assign to the address.
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' --header 'Content-Type: application/json' --data-raw '{"jsonrpc": "2.0", "method": "setlabel", "params": [null, null], "id": "getblock.io"}'
{ "result": "null", "id": "getblock.io", "status_code": 405, "message": "Method not allowed" }
Example code for the setlabel {disallowed} json-rpc method. Сomplete guide on how to use setlabel {disallowed} json-rpc in GetBlock.io Web3 documentation.