Yap
Yap
Back to YapDAP protocolAccounts and eventsTransaction flowNetworks and addresses

Accounts and events

DAP accounts and events for client integrations.

Accounts

DAP stores protocol state in program-derived accounts:

AccountPurpose
ConfigHolds the mint, active snapshot, reward epoch, and protocol controls.
ActionStatusTracks a wallet's daily on-chain action count.
AuthorCounterHolds the next Post sequence for an author.
RewardBalanceTracks 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.

DAP protocol

How the permissionless DAP protocol records posts, votes, and rewards on Solana.

Transaction flow

How Yap prepares a transaction and Solana confirms a DAP action.

On this page

AccountsEventsVerify and archive