Solana IDL reference › PumpSwap AMM › SellEvent

SellEvent event

PumpSwap AMM event. Program ID pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA. Data starts with the 8-byte event discriminator, published in the IDL.

Discriminator (published in the IDL)

hex 0x3e2f370aa503dc2a

bytes [62, 47, 55, 10, 165, 3, 220, 42]

base58 BQGUrgXdNxZ

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
timestampi6488
base_amount_inu64168
min_quote_amount_outu64248
user_base_token_reservesu64328
user_quote_token_reservesu64408
pool_base_token_reservesu64488
pool_quote_token_reservesu64568
quote_amount_outu64648
lp_fee_basis_pointsu64728
lp_feeu64808
protocol_fee_basis_pointsu64888
protocol_feeu64968
quote_amount_out_without_lp_feeu641048
user_quote_amount_outu641128
poolpubkey12032
userpubkey15232
user_base_token_accountpubkey18432
user_quote_token_accountpubkey21632
protocol_fee_recipientpubkey24832
protocol_fee_recipient_token_accountpubkey28032
coin_creatorpubkey31232
coin_creator_fee_basis_pointsu643448
coin_creator_feeu643528

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 PumpSwap AMM events

PumpSwap AMM 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.