Solana IDL reference › Raydium AMM V3 (CLMM) › CollectProtocolFeeEvent

CollectProtocolFeeEvent event

Raydium AMM V3 (CLMM) event. Program ID CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK. Data starts with the 8-byte event discriminator, published in the IDL.

Discriminator (published in the IDL)

hex 0xce57114f2d29d53d

bytes [206, 87, 17, 79, 45, 41, 213, 61]

base58 bWkwHwUkRMn

From the IDL

Emitted when the collected protocol fees are withdrawn by the factory owner

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
pool_statepubkey832
recipient_token_account_0pubkey4032
recipient_token_account_1pubkey7232
amount_0u641048
amount_1u641128

Where this event appears

Anchor programs emit events in one of two ways. With emit! the event is written to the transaction logs as Program data: <base64>; the decoded bytes are the 8-byte discriminator above followed by the Borsh-encoded fields. With emit_cpi! the program calls itself and the event is in that inner instruction's data, which starts with the 8-byte tag 0xe445a52e51cb9a1d, then the discriminator and the fields. Logs can be truncated on busy transactions; inner-instruction data is not. The decoder below accepts both forms. How to decode Anchor events.

Decode this event

Decoding runs on Rugsight's server against the bundled snapshot. Nothing is fetched from the chain. Paste public account data only; never paste a private key or seed phrase.

Other Raydium AMM V3 (CLMM) events

Raydium AMM V3 (CLMM) instructions · Explain a transaction

Data: solana-idls@1.2.1 (MIT, © Obsidian Protocol) and SPL Token / Token-2022 state layouts (Apache-2.0), snapshot 2026-11-17. Programs can upgrade and an IDL snapshot can lag the deployed program, so check important offsets against current account data.