Solana IDL reference › Raydium Launchpad › TradeEvent

TradeEvent event

Raydium Launchpad event. Program ID LanMV9sAd7wArD4vJFi2qDdfnVhFxYSUg6eADduJ3uj. Data starts with the 8-byte event discriminator, published in the IDL.

Discriminator (published in the IDL)

hex 0xbddb7fd34ee661ee

bytes [189, 219, 127, 211, 78, 230, 97, 238]

base58 YkraX4d7eWR

From the IDL

Emitted when trade process

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
pool_statepubkey832
total_base_sellu64408
virtual_baseu64488
virtual_quoteu64568
real_base_beforeu64648
real_quote_beforeu64728
real_base_afteru64808
real_quote_afteru64888
amount_inu64968
amount_outu641048
protocol_feeu641128
platform_feeu641208
creator_feeu641288
share_feeu641368
trade_directionTradeDirection1441
pool_statusPoolStatus1451
exact_inbool1461

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 Launchpad events

Raydium Launchpad 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.