Solana IDL reference › PumpSwap AMM › FeeConfig
PumpSwap AMM account type. Program ID pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA. Data starts with the 8-byte account discriminator, published in the IDL.
Discriminator (published in the IDL)
hex 0x8f3492bbdb7b4c9b
bytes [143, 52, 146, 187, 219, 123, 76, 155]
base58 QxGk3hgbLmx
| Field | Type | Offset | Size |
|---|---|---|---|
| bump | u8 | 8 | 1 |
| admin | pubkey | 9 | 32 |
| flat_fees | Fees | 41 | 24 |
| lp_fee_bps | u64 | 41 | 8 |
| protocol_fee_bps | u64 | 49 | 8 |
| creator_fee_bps | u64 | 57 | 8 |
| fee_tiers | Vec<FeeTier> | 65 | varies |
fee_tiers has a size that depends on the data (Vec, String, Option or an enum with different variant sizes), so offsets after it vary from account to account.Every FeeConfig account starts with the same discriminator, so a memcmp at offset 0 selects this account type. The second filter matches admin at offset 9. getProgramAccounts on a large program is heavy; many RPC providers limit or disable it.
{
"jsonrpc": "2.0",
"id": 1,
"method": "getProgramAccounts",
"params": [
"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA",
{
"encoding": "base64",
"filters": [
{
"memcmp": {
"offset": 0,
"bytes": "QxGk3hgbLmx"
}
},
{
"memcmp": {
"offset": 9,
"bytes": "<admin as base58>"
}
}
]
}
]
}
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.
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.