solana.decoded.events.
In solana there are 3 flavors of events.
1) Embedded base64 text in log_messagesof raw transactions, usually prefixed with Program Data or Program Log. These are subjected to log_message truncation if there are too many log messages in a transactions. e.g. log line 15 in this tx. In solana.decoded.events, these are marked with event_type='log_message_base64' .
2) Embedded json text in log_messagesof raw transactions, usually prefixed with ‘Program Data’ or ‘Program Log’. These are subjected to log_message truncation if there are too many log messages in a transactions. e.g. log line 11 in this tx. In solana.decoded.events, these are marked with event_type='log_message_json' .
3) Event data embedded in anchor_self_cpi_log instructions, called by a program. e.g. Instruction 4.7 in this tx. The selector of e445a52e51cb9a1dis stripped from the instruction data, and the remaining bytes decoded to an event. In solana.decoded.events, these are marked with event_type='anchor_self_cpi_log' .
Coverage:
| project/protocol | program_id | event_type |
|---|---|---|
| meteora dlmm | LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo | anchor_self_cpi_log |
| jupiter v6 | JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 | anchor_self_cpi_log |
| pumpswap | pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA | anchor_self_cpi_log |
| dflow v3 | DF1ow3DqMj3HvTj8i8J9yM2hE9hCrLLXpdbaKZu4ZPnz | anchor_self_cpi_log |
| dflow v4 | DF1ow4tspfHX9JwWJsAb9epbkA8hmpSEAtxXy1V27QBH | anchor_self_cpi_log |
| pumpfun | 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P | anchor_self_cpi_log |
| pumpfun | 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P | log_message |
| drift v2 | dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH | log_message |
| jupiter perp | PERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu | anchor_self_cpi_log |
| meteora dbc | dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN | anchor_self_cpi_log |
| layerzero v2 | 76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6 | anchor_self_cpi_log |