Solana IDL reference › Boop › AmmConfig
Boop account type. Program ID boop8hVGQGqehUK2iVEMEnMrL5RbjywRzHKBmBE7ry4. Data starts with the 8-byte account discriminator, published in the IDL.
Discriminator (published in the IDL)
hex 0xdaf42168cbcb2b6f
bytes [218, 244, 33, 104, 203, 203, 43, 111]
base58 dd8DvH45THQ
Holds the current owner of the factory
| Field | Type | Offset | Size |
|---|---|---|---|
| bump | u8 | 8 | 1 |
| disable_create_pool | bool | 9 | 1 |
| index | u16 | 10 | 2 |
| trade_fee_rate | u64 | 12 | 8 |
| protocol_fee_rate | u64 | 20 | 8 |
| fund_fee_rate | u64 | 28 | 8 |
| create_pool_fee | u64 | 36 | 8 |
| protocol_owner | pubkey | 44 | 32 |
| fund_owner | pubkey | 76 | 32 |
| padding | [u64; 16] | 108 | 128 |
Every AmmConfig account starts with the same discriminator, so a memcmp at offset 0 selects this account type. The second filter matches protocol_owner at offset 44. A dataSize: 236 filter would also work only while live accounts still have the snapshot size; programs often add fields in upgrades, so it is left out here. getProgramAccounts on a large program is heavy; many RPC providers limit or disable it.
{
"jsonrpc": "2.0",
"id": 1,
"method": "getProgramAccounts",
"params": [
"boop8hVGQGqehUK2iVEMEnMrL5RbjywRzHKBmBE7ry4",
{
"encoding": "base64",
"filters": [
{
"memcmp": {
"offset": 0,
"bytes": "dd8DvH45THQ"
}
},
{
"memcmp": {
"offset": 44,
"bytes": "<protocol_owner 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.
Boop 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.