omni_createpayload_sto

Creates the payload for a send-to-owners transaction.

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
propertyid number required the identifier of the token to distribute
amount string required the amount to distribute
distributionproperty number optional the identifier of the property holders to distribute to

Result:

"payload"  // (string) the hex-encoded payload

Example:

$ omnicore-cli "omni_createpayload_sto" 3 "5000"