Skip to main content

xrpl_wasm_stdlib/core/
mod.rs

1//! Core modules for XRPL transaction and ledger access.
2//!
3//! This namespace provides typed accessors and utilities used by smart contracts:
4//! - [`constants`]: Internal helpers for buffer sizes
5//! - [`current_tx`]: Read fields from the current transaction
6//! - [`keylets`]: Compute keylets for various ledger entry types
7//! - [`ledger_objects`]: Read fields from ledger entries (current or cached)
8//! - [`types`]: Strongly-typed XRPL primitives (AccountID, Hash256, Amount, etc.)
9//! - [`locator`]: Build locators for nested field access
10//!
11//! Start with [`current_tx::escrow_finish::EscrowFinish`] to access EscrowFinish TX fields,
12//! or [`ledger_objects::current_escrow::get_current_escrow`] to access the active escrow.
13
14pub mod constants;
15pub mod current_tx;
16pub mod keylets;
17pub mod ledger_objects;
18pub mod locator;
19pub mod types;