Solana IDL reference › PumpSwap AMM › WithdrawEvent

WithdrawEvent 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 0x1609851aa02c47c0

bytes [22, 9, 133, 26, 160, 44, 71, 192]

base58 4gniuwfsWw1

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
timestampi6488
lp_token_amount_inu64168
min_base_amount_outu64248
min_quote_amount_outu64328
user_base_token_reservesu64408
user_quote_token_reservesu64488
pool_base_token_reservesu64568
pool_quote_token_reservesu64648
base_amount_outu64728
quote_amount_outu64808
lp_mint_supplyu64888
poolpubkey9632
userpubkey12832
user_base_token_accountpubkey16032
user_quote_token_accountpubkey19232
user_pool_token_accountpubkey22432

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.