Skip to main content

checkaddressrestriction

RPC help captured from Yerbas Core 4.0.1.4 (f0e2dde).

Use ./yerbas-cli help checkaddressrestriction 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.

checkaddressrestriction address restricted_name

Checks to see if an address has been frozen by the given restricted asset

Arguments:
1. "address" (string, required) the YERB address to search
1. "restricted_name" (string, required) the restricted asset to search

Result:
"true/false", (boolean) If the address is frozen

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