Expand description
Untyped handle to a slot-cached ledger object.
Typed wrappers like AccountRoot exist to add
object-specific named accessors (AccountFields, EscrowFields). Object types that have no such
wrapper โ Oracle, SignerList, NFTokenPage, RippleState โ still need the common fields and, above
all, inner-field paths. LedgerObject is that door: wrap the raw slot
cache_le handed back and get everything on
LedgerObjectCommonFields, including
path().
Adding a typed wrapper for an object later is purely additive โ code written against
LedgerObject keeps working.
Structsยง
- Ledger
Object - A ledger object identified only by the slot it was cached into.