TxDocOptions

Options controlling how TxDoc renders the decoded transaction help.

Synopsis

Declared in <rpc/rawtransaction_util.h>

struct TxDocOptions;

Data Members

NameDescription
elision_mode Controls top-level field elision in the help
elision_summary Summary text shown as "..." required for elision_mode == WithSummary
fee Include fee field
fee_doc Customize the fee field's description (only meaningful when fee is true)
hex Include hex field
prevout Include prevout field
prevout_doc Customize the prevout field's description (only meaningful when prevout is true)
prevout_optional Mark prevout field as optional (omitted when undo data unavailable)
txid_field_doc The description of the txid field
vin_inner_elision Elide vin inner fields but keep vin array with prevout expanded.
vin_item_doc Customize the vin item object's description (only meaningful when vin_inner_elision is set)
wallet Include wallet-related fields (e.g. ischange on outputs)

Non-Member Functions

NameDescription
TxDocExplain the UniValue "decoded" transaction object, may include extra fields if processed by wallet