Infrastructure · Event Indexer
The Stellar event indexer Horizon never had.
Wraith indexes Stellar Asset Contract events — the incoming SAC transfers that Horizon's payments endpoint cannot see. Query any address for its full Soroban token transfer history with filters, pagination, and summaries.
The Horizon Gap
Soroban tokens are invisible
to classic Stellar tooling.
Without Wraith
- Horizon /payments misses SAC transfers entirely
- Incoming Soroban token transfers are invisible
- No way to query transfer history by address
- No aggregate stats without custom indexing
With Wraith
- Full SAC event history indexed in real time
- Incoming and outgoing transfers unified
- Date range, eventType, and pagination filters
- Aggregate summaries at a single endpoint
REST API
Simple API. Complete data.
/transfers/address/:addressAll transfers for an address — direction=incoming|outgoing|both
/summary/:addressAggregate stats: total sent, received, and transfer count
/statusIndexer health and last processed ledger
SAC Event Indexing
Listens to Soroban contract events from Stellar Asset Contracts. Decodes transfer, mint, burn, and clawback events that Horizon's payments endpoint misses entirely.
Combined Transfers Endpoint
Query incoming, outgoing, or both in a single request. Each transfer includes a direction field so you never have to merge two separate lists client-side.
Date Range Filters
Pass fromDate and toDate as ISO 8601 strings to scope any query to a time window. Essential for audits, reports, and displaying monthly activity.
Transfer Summaries
The /summary/:address endpoint returns aggregate stats — total sent, total received, and transfer count — computed with raw SQL for speed.
Event Type Filtering
Filter transfers by eventType (transfer, mint, burn, clawback) with allowlist validation. Precise queries without client-side post-processing.
Protocol 22 Resilience
Uses bisection-based fetchEventsSafe to handle XDR decode errors introduced in Stellar Protocol 22 — keeps indexing even when individual ledgers fail to parse.
Index your transfers.
Own your history.
Wraith is open source and deployed on Render. Query the live API or fork it and run your own instance.