Solana IDL reference › Meteora DLMM › Position

Position 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 0xaabc8fe47a40f7d0

bytes [170, 188, 143, 228, 122, 64, 247, 208]

base58 VZMoMoKgZQb

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
lb_pairpubkey832
ownerpubkey4032
liquidity_shares[u64; 70]72560
reward_infos[UserRewardInfo; 70]6323360
fee_infos[FeeInfo; 70]39923360
lower_bin_idi3273524
upper_bin_idi3273564
last_updated_ati6473608
total_claimed_fee_x_amountu6473688
total_claimed_fee_y_amountu6473768
total_claimed_rewards[u64; 2]738416
_reserved[u8; 160]7400160

getProgramAccounts filter

Every Position account starts with the same discriminator, so a memcmp at offset 0 selects this account type. The second filter matches lb_pair at offset 8. A dataSize: 7560 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": "VZMoMoKgZQb"
          }
        },
        {
          "memcmp": {
            "offset": 8,
            "bytes": "<lb_pair 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.