Decoding Events
NaraLabs uses SEP-0048 event schemas to turn raw Soroban event payloads into readable fields and summaries.
Decode pipeline
- Index — Atlas worker ingests events from Stellar RPC
- Match schema — Registry lookup by contract + event type
- Decode — Map topics and value to semantic fields
- Preview — Generate
summary_previewfor list views
Decode status
| Status | Meaning |
|---|---|
decoded | Schema matched; semantic fields available |
raw | Indexed but no schema or partial decode |
Schema registry
The schema registry (Atlas registry module) stores SEP-0048 definitions submitted by contract authors. When a schema is registered for a contract event type, newly ingested events are decoded automatically.
Raw vs decoded in the UI
- Homepage & list tables show decode badges and summaries
- Event detail shows full JSON topics/value plus decode metadata
- Filters on
/eventslet you narrow to decoded or raw-only events
Contributing schemas
Publish schemas via the Atlas registry API (POST /v1/schemas). Full request format, validation rules, and list/get endpoints are documented in the Atlas README and at /docs → API reference, or interactively at http://localhost:8080/docs when Atlas is running locally.
Last updated on