Skip to contents

Parses a raw transaction hex string into a human‑readable structure, showing inputs, outputs, amounts, metadata, and other transaction details.

Usage

mc_decode_raw_transaction(conn, tx_hex)

Arguments

conn

A connection object created by mc_connect.

tx_hex

Character string. The raw transaction hex to decode.

Value

A list with decoded transaction information (inputs, outputs, etc.).

Examples

if (FALSE) { # \dontrun{
decoded <- mc_decode_raw_transaction(conn, tx_hex)
print(decoded$vin)
} # }