Creates the payload to cancel offers on the distributed token exchange with the specified price.
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 |
---|---|---|---|
propertyidforsale |
number | required | the identifier of the tokens to list for sale |
amountforsale |
string | required | the amount of tokens to list for sale |
propertyiddesired |
number | required | the identifier of the tokens desired in exchange |
amountdesired |
string | required | the amount of tokens desired in exchange |
Result:
"payload" // (string) the hex-encoded payload
Example:
$ omnicore-cli "omni_createpayload_canceltradesbyprice" 31 "100.0" 1 "5.0"