Solana IDL reference › Meteora DLMM › LbPair
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
| Field | Type | Offset | Size |
|---|---|---|---|
| parameters | StaticParameters | 8 | 32 |
| base_factor | u16 | 8 | 2 |
| filter_period | u16 | 10 | 2 |
| decay_period | u16 | 12 | 2 |
| reduction_factor | u16 | 14 | 2 |
| variable_fee_control | u32 | 16 | 4 |
| max_volatility_accumulator | u32 | 20 | 4 |
| min_bin_id | i32 | 24 | 4 |
| max_bin_id | i32 | 28 | 4 |
| protocol_share | u16 | 32 | 2 |
| base_fee_power_factor | u8 | 34 | 1 |
| _padding | [u8; 5] | 35 | 5 |
| v_parameters | VariableParameters | 40 | 32 |
| volatility_accumulator | u32 | 40 | 4 |
| volatility_reference | u32 | 44 | 4 |
| index_reference | i32 | 48 | 4 |
| _padding | [u8; 4] | 52 | 4 |
| last_update_timestamp | i64 | 56 | 8 |
| _padding_1 | [u8; 8] | 64 | 8 |
| bump_seed | [u8; 1] | 72 | 1 |
| bin_step_seed | [u8; 2] | 73 | 2 |
| pair_type | u8 | 75 | 1 |
| active_id | i32 | 76 | 4 |
| bin_step | u16 | 80 | 2 |
| status | u8 | 82 | 1 |
| require_base_factor_seed | u8 | 83 | 1 |
| base_factor_seed | [u8; 2] | 84 | 2 |
| activation_type | u8 | 86 | 1 |
| creator_pool_on_off_control | u8 | 87 | 1 |
| token_x_mint | pubkey | 88 | 32 |
| token_y_mint | pubkey | 120 | 32 |
| reserve_x | pubkey | 152 | 32 |
| reserve_y | pubkey | 184 | 32 |
| protocol_fee | ProtocolFee | 216 | 16 |
| amount_x | u64 | 216 | 8 |
| amount_y | u64 | 224 | 8 |
| _padding_1 | [u8; 32] | 232 | 32 |
| reward_infos | [RewardInfo; 2] | 264 | 288 |
| oracle | pubkey | 552 | 32 |
| bin_array_bitmap | [u64; 16] | 584 | 128 |
| last_updated_at | i64 | 712 | 8 |
| _padding_2 | [u8; 32] | 720 | 32 |
| pre_activation_swap_address | pubkey | 752 | 32 |
| base_key | pubkey | 784 | 32 |
| activation_point | u64 | 816 | 8 |
| pre_activation_duration | u64 | 824 | 8 |
| _padding_3 | [u8; 8] | 832 | 8 |
| _padding_4 | u64 | 840 | 8 |
| creator | pubkey | 848 | 32 |
| token_mint_x_program_flag | u8 | 880 | 1 |
| token_mint_y_program_flag | u8 | 881 | 1 |
| _reserved | [u8; 22] | 882 | 22 |
bytemuck, repr c). Every field here is naturally aligned, so the in-memory layout matches the offsets shown.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>"
}
}
]
}
]
}
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.
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.