Create and fund a raw transaction from a specific address
Source:R/raw_transactions.R
mc_create_raw_send_from.RdCreates a raw transaction that is automatically funded from a specified address. This is a convenience function that selects UTXOs from the given address and builds the transaction.
Usage
mc_create_raw_send_from(
conn,
from_address,
to_amounts,
data = list(),
action = ""
)Arguments
- conn
A connection object created by
mc_connect.- from_address
Character string. The address that will fund the transaction.
- to_amounts
A named list mapping recipient addresses to amounts (e.g.,
list("1A..." = 0.5, "1B..." = list(asset = 10))).- data
Optional array of metadata (strings or lists; will be hex‑encoded).
- action
Optional action:
"send","sign", etc.
Value
A character string (raw transaction hex) or a list with hex
and complete if signing is requested.