Skip to main content

Module fields

Module fields 

Source
Expand description

Typed accessors for reading fields from the current transaction and ledger objects, plus the locator::Locator builder for inner field paths.

Modulesยง

current_ledger_obj
Current Ledger Object Field Retrieval Module (no slot)
current_tx
Current Transaction Retrieval Module
decoder
Context-independent decode logic for typed field values.
ledger_obj
Ledger Object Field Retrieval Module (by slot)
locator
Inner field access: encode a path (sfield codes and array indices) into the compact binary format the host understands, then read a field like Memos[0].MemoType.