Solana IDL reference › SPL Token Swap
Program ID SwaPpA9LAaLfeLi3a68M4DjnLqgtticKg6CnyNwgAC8. IDL name spl_token_swap, version 3.0.0. Format: legacy Anchor IDL (discriminators computed). 1 type definitions. Source: solana-idls@1.2.1.
This snapshot does not confirm how SPL Token Swap account data begins, so account offsets are given relative to the struct and no getProgramAccounts filter is suggested.
| Account | Discriminator | Size (bytes) |
|---|---|---|
| Fees | none | varies |
| SwapCurve | none | varies |
| SwapV1 | none | varies |
| OffsetCurve | none | varies |
| ConstantProductCurve | none | varies |
| ConstantPriceCurve | none | varies |
GET /api/idl/spl-token-swap (Rugsight's normalized JSON, not the original IDL file)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.
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.