Skip to contents

Parses a raw atomic exchange transaction (partial or complete) and returns a human‑readable representation of its structure, including the involved inputs, outputs, and the assets being exchanged.

Usage

mc_decode_raw_exchange(conn, tx_hex, verbose = FALSE)

Arguments

conn

A connection object created by mc_connect.

tx_hex

Character string. Hexadecimal representation of the exchange transaction.

verbose

Logical. If TRUE, lists all individual stages (contributions) of the exchange. Default is FALSE.

Value

A list (or a data frame if verbose) containing the decoded exchange details.

Examples

if (FALSE) { # \dontrun{
decoded <- mc_decode_raw_exchange(conn, my_tx_hex)
print(decoded)
} # }