Solana IDL reference › SPL Token Swap › ConstantPriceCurve

ConstantPriceCurve account layout

SPL Token Swap account type. Program ID SwaPpA9LAaLfeLi3a68M4DjnLqgtticKg6CnyNwgAC8. This snapshot does not confirm whether SPL Token Swap data starts with a discriminator or other header, so offsets below are relative to the start of the struct, not to the start of the account data.

Fields

FieldTypeOffsetSize
tokenBPriceu6408

Decode account data

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 SPL Token Swap account types

SPL Token Swap 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.