Skip to main content

checkaddresstag

RPC help captured from Yerbas Core 4.0.1.4 (f0e2dde).

Use ./yerbas-cli help checkaddresstag on your node for help. In the GUI console omit yerbas-cli. HTTP examples use mainnet RPC port 15419; network-specific defaults and availability can differ.

checkaddresstag address tag_name

Checks to see if an address has the given tag

Arguments:
1. "address" (string, required) the YERB address to search
1. "tag_name" (string, required) the tag to search

Result:
"true/false", (boolean) If the address has the tag

Examples:
> yerbas-cli checkaddresstag "address" "tag_name"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddresstag", "params": ["address" "tag_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:15419/