Skip to main content

Module api

Module api 

Source
Expand description

Ledger Engine v0 API, compatible with Clio: ledger, tx, account_tx, ledger_entry, account_info, server_info, ping; account objects and ledger_data live in the owned module.

Responses match Clio 2.8 field for field, in API v1 and v2 (v2 by default, as in a stock Clio): the same object JSON (the xrpl_json module), the same transaction additions (delivered_amount, DeliverMax, ctid, synthetic NFT fields, mpt_issuance_id), the same account_tx marker, the same error codes.

Data covers only validated ledgers, starting with the first one after the state snapshot: there is no “current” or “closed” here. Requests are served from the same process that writes ledgers, because only one process can open the fjall store.

Structs§

Engine
Reads validated ledgers, state and indexes.
RpcError
Response error: code, number and message, as in Clio.

Functions§

time_human
Like to_string(NetClock::time_point): 2026-Oct-24 17:39:52.000000000 UTC.
time_iso
Like toStringIso in xrpld: 2026-10-24T17:39:52Z.