Sends a transaction with inline metadata from a specified sender address.
Combines the capabilities of mc_send_from and
mc_send_with_data.
Arguments
- conn
A connection object created by
mc_connect.- from_address
Character string. Sender address.
- to_address
Character string. Recipient address.
- amounts
Either a numeric value (native) or a named list of assets.
- data
Data to embed. Can be a string, list (converted to JSON), etc.
See also
mc_send_with_data, mc_send_from.
Other transactions:
mc_get_address_balances(),
mc_get_address_transaction(),
mc_get_multi_balances(),
mc_get_token_balances(),
mc_get_total_balances(),
mc_get_tx_out_data(),
mc_get_wallet_transaction(),
mc_list_address_transactions(),
mc_list_wallet_transactions(),
mc_send(),
mc_send_asset(),
mc_send_asset_from(),
mc_send_from(),
mc_send_with_data()
Examples
if (FALSE) { # \dontrun{
# Send from a specific address with metadata
txid <- mc_send_with_data_from(conn, "1A...", "1B...", 0.5,
list(reference = "invoice123"))
} # }