Creates the payload to freeze an address for a centrally managed token.
Note: if the server is not synchronized, amounts are considered as divisible, even if the token may have indivisible units!
Arguments:
Name | Type | Presence | Description |
---|---|---|---|
toaddress |
string | required | the address to freeze tokens for |
propertyid |
number | required | the property to freeze tokens for (must be managed type and have freezing option enabled) |
amount |
string | required | the amount of tokens to freeze (note: this is unused - once frozen an address cannot send any transactions) |
Result:
"payload" // (string) the hex-encoded payload
Example:
$ omnicore-cli "omni_createpayload_freeze" "3HTHRxu3aSDV4deakjC7VmsiUp7c6dfbvs" 31 "100"