Accounts and events
DAP accounts and events for client integrations.
Accounts
DAP stores protocol state in program-derived accounts:
| Account | Purpose |
|---|---|
Config | Holds the mint, active snapshot, reward epoch, and protocol controls. |
ActionStatus | Tracks a wallet's daily on-chain action count. |
AuthorCounter | Holds the next Post sequence for an author. |
RewardBalance | Tracks earned and claimed Yap for a reward recipient wallet. |
New posts use AuthorCounter and POST events, and votes use ActionStatus and VOTE events, so neither creates its own account. Older Post accounts and Vote receipts are all closed, the last on 2026-10-25, with every lamport returned to the author or voter.
Events
DAP emits POST, VOTE, and CLAIM events in transaction logs. Current POST events contain the author, content, media reference, ancestry, and sequence. Older POST events have no sequence field. Current VOTE events contain the voter, Post ID, snapshot weight, reward, reward epoch day, action index, snapshot nonce, and timestamp. Older VOTE events use a different layout. CLAIM records the wallet and amount transferred. Older transactions also contain RNT1 events from retired rent refund instructions; indexers can ignore them.
Verify and archive
Transaction success alone does not prove that every DAP invocation succeeded. Confirm that the DAP invocation and each ancestor invocation succeeded before indexing an event. Store the transaction signature, event position, and payload when indexing posts. RPC providers may prune old logs, so a signature alone does not preserve the content.