Asterea
Astraea is a history server for the XRP Ledger with a Clio-compatible API and verifiable proofs for ledgers, transactions, and state.
Astraea is a history server for the XRP Ledger, developed by XRPL Lending Network. It provides the same JSON-RPC and WebSocket API as Clio, so existing clients can use it without changes.
Astraea stores the full public history of the XRP Ledger, from ledger 32571 (January 2013) to the current ledger. It can also return an evidence package for any ledger, transaction, or state object, which can be verified independently without trusting Astraea or any node.
The source code is available in the Astraea GitHub repository, and the full technical documentation is published on the Astraea documentation site.
Verified History
Every ledger passes three checks before Astraea stores it:
Check | Description |
|---|---|
Transaction Tree | The transaction tree rebuilt from stored transactions matches the root in the ledger header |
Ledger Chain | The header's parent hash matches the previous ledger |
Validator Quorum | Validators from the UNL in force at the time signed the ledger, with at least 80% of the list agreeing |
Validator signatures and UNL lists are archived alongside the ledger data, exactly as received from the network and list publishers. Astraea does not rely on a node's report that a ledger is validated.
See the architecture overview.
API
Astraea answers Clio-compatible methods from its own data:
Category | Methods |
|---|---|
Ledgers |
|
Transactions |
|
Accounts |
|
Tokens and Vaults |
|
NFTs |
|
Streams | WebSocket |
Service |
|
Methods that Clio forwards to a node, such as fee and server_state, are forwarded the same way. Astraea never signs transactions on a client's behalf, and transaction submission is not available on public endpoints.
For parameters, error behavior, and differences from Clio, see the API reference.
Proofs
Proof methods return evidence packages that can be checked offline using plain hashing and signature verification.
Method | Proves |
|---|---|
| A ledger header was validated by a UNL quorum |
| A transaction and its metadata are included in a validated ledger |
| A state object, or its absence, at a given ledger |
proof_ledger and proof_tx cover all of history. Older ledgers are linked to a validated anchor through the skip lists maintained by the network in its own state.
Each package states what it does not prove. For example, it can show that a transaction is included in a ledger, but not that an account's history is complete.
See the evidence format and the offline verifier witness-verify.
Storage
Astraea stores history in files using a codec designed for XRP Ledger binary objects, without a separate database server.
Measure | Value |
|---|---|
Transactions stored | 5.18 billion |
Total size, including indexes | 1.08 TB |
Size per transaction | About 208 bytes |
On the same ledgers and host, Astraea history requires about one third of the disk space used by Clio. Clio remains slightly faster on deep pages of older history, since Astraea decodes compressed blocks to read them.
See the full comparison with Clio.
Public Endpoint
XRPL Lending Network operates a public Astraea endpoint for XRP Ledger mainnet, covering the full history.
Interface | Address |
|---|---|
JSON-RPC | |
WebSocket |
|
Health |
Example request:
curl -s https://astraea.xrpl-lending.network/ -d '{"method":"server_info","params":[{}]}'
The endpoint is free and requires no API key. Each client has a budget of requests, response size, and processing time per 10 seconds. Requests beyond the budget receive slowDown (HTTP 503) until the interval ends. Transaction submission and signing are not available.
For heavy or continuous use, run your own server. See the operator guide.
Run Your Own
Astraea is open source under the ISC license. A server loads validated ledgers from xrpld over gRPC and starts serving history once it connects. Earlier history can be loaded from the XRPLA archive.
See the operator guide and the GitHub repository.
Support
For access requests and technical questions, contact [email protected].
Report vulnerabilities privately to the same address, not in public issues. Bugs and improvements can be submitted in the Astraea repository.