unfreezeaddress
RPC help captured from Yerbas Core 4.0.1.4 (f0e2dde).
Use ./yerbas-cli help unfreezeaddress 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.
unfreezeaddress asset_name address (change_address) (asset_data)
Unfreeze an address from transferring a restricted asset
Arguments:
1. "asset_name" (string, required) the name of the restricted asset you want to unfreeze
2. "address" (string, required) the address that will be unfrozen
3. "change_address" (string, optional) The change address for the owner token of the restricted asset
4. "asset_data" (string, optional) The asset data (ipfs or a hash) to be applied to the transfer of the owner token
Result:
"txid" (string) The transaction id
Examples:
> yerbas-cli unfreezeaddress "$RESTRICTED_ASSET" "address"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:15419/
> yerbas-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:15419/