omni_sendtrade

Place a trade offer on the distributed token exchange.

Arguments:

Name Type Presence Description
fromaddress string required the address to trade with
propertyidforsale number required the identifier of the tokens to list for sale
amountforsale string required the amount of tokens to list for sale
propertiddesired number required the identifier of the tokens desired in exchange
amountdesired string required the amount of tokens desired in exchange

Result:

"hash"  // (string) the hex-encoded transaction hash

Example:

$ omnicore-cli "omni_sendtrade" "3BydPiSLPP3DR5cf726hDQ89fpqWLxPKLR" 31 "250.0" 1 "10.0"