omni_sendrawtx

Broadcasts a raw Omni Layer transaction.

Arguments:

Name Type Presence Description
fromaddress string required the address to send from
rawtransaction string required the hex-encoded raw transaction
referenceaddress string optional a reference address (none by default)
redeemaddress string optional an address that can spend the transaction dust (sender by default)
referenceamount string optional a bitcoin amount that is sent to the receiver (minimal by default)

Result:

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

Example:

$ omnicore-cli "omni_sendrawtx" \
    "1MCHESTptvd2LnNp7wmr2sGTpRomteAkq8" "000000000000000100000000017d7840" \
    "1EqTta1Rt8ixAA32DuC29oukbsSWU62qAV"