Solana IDL reference › Meteora DLMM › PresetParameter2

PresetParameter2 account layout

Meteora DLMM account type. Program ID LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo. Data starts with the 8-byte account discriminator, published in the IDL.

Discriminator (published in the IDL)

hex 0xabec9473a271deae

bytes [171, 236, 148, 115, 162, 113, 222, 174]

base58 Vkt1i4djkWZ

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
bin_stepu1682
base_factoru16102
filter_periodu16122
decay_periodu16142
variable_fee_controlu32164
max_volatility_accumulatoru32204
reduction_factoru16242
protocol_shareu16262
indexu16282
base_fee_power_factoru8301
padding_0u8311
padding_1[u64; 20]32160

getProgramAccounts filter

Every PresetParameter2 account starts with the same discriminator, so a memcmp at offset 0 selects this account type. A dataSize: 192 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": [
    "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
    {
      "encoding": "base64",
      "filters": [
        {
          "memcmp": {
            "offset": 0,
            "bytes": "Vkt1i4djkWZ"
          }
        }
      ]
    }
  ]
}

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 Meteora DLMM account types

Meteora DLMM 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.