Solana IDL reference › Meteora Dynamic Bonding Curve › EvtSwap2

EvtSwap2 event

Meteora Dynamic Bonding Curve event. Program ID dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN. Data starts with the 8-byte event discriminator, published in the IDL.

Discriminator (published in the IDL)

hex 0xbd4233a826507599

bytes [189, 66, 51, 168, 38, 80, 117, 153]

base58 Yf3e4yboVma

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
poolpubkey832
configpubkey4032
trade_directionu8721
has_referralbool731
swap_parametersSwapParameters27417
amount_0u64748
amount_1u64828
swap_modeu8901
swap_resultSwapResult29172
included_fee_input_amountu64918
excluded_fee_input_amountu64998
amount_leftu641078
output_amountu641158
next_sqrt_priceu12812316
trading_feeu641398
protocol_feeu641478
referral_feeu641558
quote_reserve_amountu641638
migration_thresholdu641718
current_timestampu641798

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 Meteora Dynamic Bonding Curve events

Meteora Dynamic Bonding Curve 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.