> For the complete documentation index, see [llms.txt](https://docs.accountable.capital/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.accountable.capital/accountable-documentation/accountable-ledger.md).

# Accountable Ledger

### A Deterministic Computation Engine

A complete, audit-ready record for digital asset funds. Accountable Ledger reconstructs your entire transaction history across CeFi, DeFi and TradFi, replacing manual reconciliation with a cryptographically attested record of every trade, transfer and fee. Includes Accountable NAV as the verified feed layer and extends it with full P\&L attribution, fee calculations and audit-ready reporting.

The platform continuously processes activity across:

* Exchanges
* DeFi protocols
* Custodians
* Wallets
* Banks
* OTC desks
* TradFi brokers

while attaching cryptographic attestations to every stage of data acquisition and transformation.

### Key Benefits

* **Automated trade-reconstructed ledger & audit trail:** Replaces manual reconciliation of complex DeFi/CeFi strategies
* **Institutional-grade accounting at crypto speed:** Closes the gap between TradFi admin speed (T+5) and onchain needs (T+0)
* **The Crypto Data Engine behind the stamp:** A trusted data source that existing fund administrators can consume directly, shifting the operational lift from data gathering and reconciliation to review and sign-off

### How Accountable Ledger Works?

Accountable Ledger ingests raw payloads from every connected trade venue, records each event in an immutable log, and replays them through the Data Verification Network's book-keeping and valuation engine to produce a deterministic, cryptographically attested book state.

<figure><img src="/files/3wtEcPrh13AOyGIoXNUf" alt=""><figcaption></figcaption></figure>

* Every transaction recorded in a cryptographically attested, append-only ledger
* Trade-level reconstruction enables Shadow NAV and automated discrepancy detection
* Structured data across NAV, balances, subscriptions and redemptions
* Integrated P\&L, fee calculations, compliance and tax support
* Automated investor statements, performance attribution and regulatory reporting

### Replayable Accounting and Position Reconciliation

All events are recorded in an account-based ledger. Every transaction generates balanced debit and credit entries across the relevant accounts.

The ledger uses an append-only storage model with integrity and identity guarantees at the time of storing every record. No record is modified or deleted after creation. Corrections are made through compensating transactions while preserving the complete historical record.

Starting from any verified opening balance, the complete transaction history can be replayed to reproduce portfolio state at any arbitrary point in time.

Accountable Ledger continuously reconciles positions across:

* Exchanges
* Custodians
* Wallets
* DeFi protocols
* Internal ledger balances

Trade-reconstructed positions are cross-validated against venue-reported balances, while onchain positions can additionally be verified directly against blockchain state whenever possible.

Discrepancies enter reconciliation workflows and reconciliation records are persisted as attested ledger events.

### Multi-Currency Accounting and P\&L Attribution

Accountable Ledger maintains positions and P\&L in both the native currency of each instrument and the fund’s base currency.

Inventory management tracks cost basis at the lot level and supports configurable methodologies including FIFO, LIFO and Average Cost accounting.

Historical pricing streams can be replayed against the same transaction history to reproduce historical portfolio state under different pricing datasets and valuation assumptions.

The platform continuously tracks:

* Realized P\&L
* Unrealized mark-to-market P\&L
* Funding flows
* Fee accruals
* Transaction costs
* Performance attribution

Positions are marked-to-market using configurable pricing rules supporting exchange feeds, onchain oracles, OTC pricing and custom valuation methodologies.

All pricing inputs, mark timestamps and valuation states are persisted with cryptographically backed lineage.

### Comparison to Traditional Solutions

Accountable Ledger replaces the traditional, service-heavy administration model with a deterministic computation engine that runs continuously on verified source data.

<figure><img src="/files/Whs1P7GwqQH81kPnsapG" alt=""><figcaption></figcaption></figure>

### Core Components

* **Connectors:** Connects to all external data sources. Assigns verifiability levels per source. Signs retrieved data with node identity and timestamp.
* **Secure Enclave:** Monolithic enclave that executes all calculations: NAV, P\&L, fee accruals, reconciliation. Generates attestations. Handles the append-only ledger. Isolated from the host OS and external parties.
* **Positions Snapshots:** Maintained by the TEE process. Append-only signed records. Supports historical restatement.
* **Account-Based Ledger:** Maintained by the TEE process. Append-only, cryptographically chained and signed transaction record. Supports full replay and historical restatement.
* **Reports:** Maintained in the same TEE, built periodically from raw positions data.
* **Dashboards/API transformations:** A layer that takes verifiable reports as source and customizes the content for public or authenticated sharing with external parties.
* **API Feeds:** Serves authenticated data feeds to oracle networks, fund administrator systems, and reporting portals. Supports JSON, FIX, CSV, and custom schemas. RFC 9421 signatures on responses.

### Aggregated Reporting and Analytics

Accountable Ledger maintains a continuously verified portfolio state across venues and asset classes, it can function as the authoritative source for:

* NAV calculations
* Exposure analysis
* Risk calculations
* Regulatory reporting
* Investor reporting

The platform supports:

* Portfolio analysis
* Historical performance reporting
* Account statements
* Fee and expense summaries
* Exposure analytics
* Benchmark comparisons

The reporting framework additionally supports custom analytics and third-party integrations through WebAssembly, R and Docker plugins.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.accountable.capital/accountable-documentation/accountable-ledger.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
