Sends a payment (native currency or assets) from a specific sender address.
This is the counterpart of mc_send for multi‑asset transactions
with a chosen source address.
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.
- comment
Character string. Optional transaction comment.
- comment_to
Character string. Optional comment‑to field.
See also
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_with_data(),
mc_send_with_data_from()
Examples
if (FALSE) { # \dontrun{
# Send 2 native coins from one address to another
txid <- mc_send_from(conn, "1A...", "1B...", 2)
# Send assets from a specific address
txid <- mc_send_from(conn, "1A...", "1B...", list(myasset = 100, other = 50))
} # }