Solana IDL reference › Meteora DLMM › LbPair

LbPair 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 0x210b3162b565b10d

bytes [33, 11, 49, 98, 181, 101, 177, 13]

base58 6XZoLajBWVJ

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
parametersStaticParameters832
base_factoru1682
filter_periodu16102
decay_periodu16122
reduction_factoru16142
variable_fee_controlu32164
max_volatility_accumulatoru32204
min_bin_idi32244
max_bin_idi32284
protocol_shareu16322
base_fee_power_factoru8341
_padding[u8; 5]355
v_parametersVariableParameters4032
volatility_accumulatoru32404
volatility_referenceu32444
index_referencei32484
_padding[u8; 4]524
last_update_timestampi64568
_padding_1[u8; 8]648
bump_seed[u8; 1]721
bin_step_seed[u8; 2]732
pair_typeu8751
active_idi32764
bin_stepu16802
statusu8821
require_base_factor_seedu8831
base_factor_seed[u8; 2]842
activation_typeu8861
creator_pool_on_off_controlu8871
token_x_mintpubkey8832
token_y_mintpubkey12032
reserve_xpubkey15232
reserve_ypubkey18432
protocol_feeProtocolFee21616
amount_xu642168
amount_yu642248
_padding_1[u8; 32]23232
reward_infos[RewardInfo; 2]264288
oraclepubkey55232
bin_array_bitmap[u64; 16]584128
last_updated_ati647128
_padding_2[u8; 32]72032
pre_activation_swap_addresspubkey75232
base_keypubkey78432
activation_pointu648168
pre_activation_durationu648248
_padding_3[u8; 8]8328
_padding_4u648408
creatorpubkey84832
token_mint_x_program_flagu88801
token_mint_y_program_flagu88811
_reserved[u8; 22]88222

getProgramAccounts filter

Every LbPair account starts with the same discriminator, so a memcmp at offset 0 selects this account type. The second filter matches token_x_mint at offset 88. A dataSize: 904 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": "6XZoLajBWVJ"
          }
        },
        {
          "memcmp": {
            "offset": 88,
            "bytes": "<token_x_mint as base58>"
          }
        }
      ]
    }
  ]
}

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.