NEW: Solana Privacy Rings are now live on mainnet

Solana Data APIs

Meteora DLMM Program Data API

Explore decoded instructions, events, and account roles for Meteora DLMM Program.

Program ID
LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo
GET PROGRAM INFO

describeProgram

Call describeProgram to get a parsed list of instructions, accounts, and roles for Meteora DLMM Program and 3,600+ Solana programs.

describeProgram request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "describeProgram",
  "params": [
    {
      "program": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
    }
  ]
}

Copyable examples

Stream Meteora DLMM Program data

Subscribe using the Meteora DLMM Program program ID and filter results by instructions, accounts, account roles, failed transactions, or CPIs.

Parsed Streams subscription
const ws = new WebSocket(
  "wss://beta.helius-rpc.com/?api-key=YOUR_API_KEY",
);

ws.addEventListener("open", () => {
  ws.send(JSON.stringify({
    jsonrpc: "2.0",
    id: 1,
    method: "parsedTransactionSubscribe",
    params: [{
      programs: ["LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"],
      instructionNames: ["add_liquidity"],
      includeFailed: false,
      includeCpi: true,
    }],
  }));
});

Runtime vocabulary

Instructions (76)

Instruction names are the exact runtime names returned by Helius describeProgram. Argument and account schema details appear only when they map unambiguously to the raw IDL.

Showing all 76 instructions

add_liquidity Expand

Arguments

NameType
liquidity_parameterLiquidityParameter

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
add_liquidity2 Expand

Arguments

NameType
liquidity_parameterLiquidityParameter
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
add_liquidity_by_strategy Expand

Arguments

NameType
liquidity_parameterLiquidityParameterByStrategy

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
add_liquidity_by_strategy2 Expand

Arguments

NameType
liquidity_parameterLiquidityParameterByStrategy
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
add_liquidity_by_strategy_one_side Expand

Arguments

NameType
liquidity_parameterLiquidityParameterByStrategyOneSide

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token
    Writable
  • reserve
    Writable
  • token_mint
    Read-only
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • token_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
add_liquidity_by_weight Expand

Arguments

NameType
liquidity_parameterLiquidityParameterByWeight

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
add_liquidity_by_weight2 Expand

Arguments

NameType
liquidity_parameterLiquidityParameterByWeight
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
add_liquidity_one_side Expand

Arguments

NameType
liquidity_parameterLiquidityOneSideParameter

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token
    Writable
  • reserve
    Writable
  • token_mint
    Read-only
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • token_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
add_liquidity_one_side_precise Expand

Arguments

NameType
parameterAddLiquiditySingleSidePreciseParameter

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token
    Writable
  • reserve
    Writable
  • token_mint
    Read-only
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • token_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
add_liquidity_one_side_precise2 Expand

Arguments

NameType
liquidity_parameterAddLiquiditySingleSidePreciseParameter2
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token
    Writable
  • reserve
    Writable
  • token_mint
    Read-only
  • sender
    Read-onlySigner
  • token_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
cancel_limit_order Expand

Arguments

NameType
binsi32[]
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • limit_order
    Writable
  • owner_token_x
    Writable
  • owner_token_y
    Writable
  • owner
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • memo_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
claim_fee Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • lb_pair
    Writable
  • position
    Writable
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • reserve_x
    Writable
  • reserve_y
    Writable
  • user_token_x
    Writable
  • user_token_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • token_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
claim_fee2 Expand

Arguments

NameType
min_bin_idi32
max_bin_idi32
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • position
    Writable
  • sender
    Read-onlySigner
  • reserve_x
    Writable
  • reserve_y
    Writable
  • user_token_x
    Writable
  • user_token_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • token_program_x
    Read-only
  • token_program_y
    Read-only
  • memo_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
claim_reward Expand

Arguments

NameType
reward_indexu64

Accounts

  • lb_pair
    Writable
  • position
    Writable
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • reward_vault
    Writable
  • reward_mint
    Read-only
  • user_token_account
    Writable
  • token_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
claim_reward2 Expand

Arguments

NameType
reward_indexu64
min_bin_idi32
max_bin_idi32
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • position
    Writable
  • sender
    Read-onlySigner
  • reward_vault
    Writable
  • reward_mint
    Read-only
  • user_token_account
    Writable
  • token_program
    Read-only
  • memo_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
close_bin_array Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • lb_pair
    Read-only
  • bin_array
    Writable
  • rent_receiver
    WritableSigner
  • signer
    Read-onlySigner
close_claim_fee_operator_account Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • claim_fee_operator
    Writable
  • rent_receiver
    Writable
  • signer
    Read-onlySigner
close_limit_order_if_empty Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • limit_order
    Writable
  • owner
    Read-onlySigner
  • rent_receiver
    Writable
  • event_authority
    Read-only
  • program
    Read-only
close_operator_account Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • operator
    Writable
  • signer
    Read-onlySigner
  • rent_receiver
    Writable
close_position Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • rent_receiver
    Writable
  • event_authority
    Read-only
  • program
    Read-only
close_position2 Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • position
    Writable
  • sender
    Read-onlySigner
  • rent_receiver
    Writable
  • event_authority
    Read-only
  • program
    Read-only
close_position_if_empty Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • position
    Writable
  • sender
    Read-onlySigner
  • rent_receiver
    Writable
  • event_authority
    Read-only
  • program
    Read-only
close_preset_parameter Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • preset_parameter
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
  • rent_receiver
    Writable
close_preset_parameter2 Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • preset_parameter
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
  • rent_receiver
    Writable
close_token_badge Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • token_badge
    Writable
  • rent_receiver
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
create_operator_account Expand

Arguments

NameType
permissionu128

Accounts

  • operator
    Writable
  • whitelisted_signer
    Read-only
  • signer
    Read-onlySigner
  • payer
    WritableSigner
  • system_program
    Read-only
decrease_position_length Expand

Arguments

NameType
length_to_removeu16
sideu8

Accounts

  • rent_receiver
    Writable
  • position
    Writable
  • owner
    Read-onlySigner
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
for_idl_type_generation_do_not_call Expand

Arguments

NameType
_ixDummyIx

Accounts

  • dummy_zc_account
    Read-only
fund_reward Expand

Arguments

NameType
reward_indexu64
amountu64
carry_forwardbool
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • reward_vault
    Writable
  • reward_mint
    Read-only
  • funder_token_account
    Writable
  • funder
    Read-onlySigner
  • bin_array
    Writable
  • token_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
go_to_a_bin Expand

Arguments

NameType
bin_idi32

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    Read-onlyOptional
  • from_bin_array
    Read-onlyOptional
  • to_bin_array
    Read-onlyOptional
  • event_authority
    Read-only
  • program
    Read-only
increase_oracle_length Expand

Arguments

NameType
length_to_addu64

Accounts

  • oracle
    Writable
  • funder
    WritableSigner
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
increase_position_length Expand

Arguments

NameType
length_to_addu16
sideu8

Accounts

  • funder
    WritableSigner
  • lb_pair
    Read-only
  • position
    Writable
  • owner
    Read-onlySigner
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
increase_position_length2 Expand

Arguments

NameType
minimum_upper_bin_idi32

Accounts

  • funder
    WritableSigner
  • lb_pair
    Read-only
  • position
    Writable
  • owner
    Read-onlySigner
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_bin_array Expand

Arguments

NameType
indexi64

Accounts

  • lb_pair
    Read-only
  • bin_array
    Writable
  • funder
    WritableSigner
  • system_program
    Read-only
initialize_bin_array_bitmap_extension Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • lb_pair
    Read-only
  • bin_array_bitmap_extension
    Writable
  • funder
    WritableSigner
  • system_program
    Read-only
  • rent
    Read-only
initialize_customizable_permissionless_lb_pair Expand

Arguments

NameType
paramsCustomizableParams

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • token_mint_x
    Read-only
  • token_mint_y
    Read-only
  • reserve_x
    Writable
  • reserve_y
    Writable
  • oracle
    Writable
  • user_token_x
    Read-only
  • funder
    WritableSigner
  • token_program
    Read-only
  • system_program
    Read-only
  • user_token_y
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_customizable_permissionless_lb_pair2 Expand

Arguments

NameType
paramsCustomizableParams

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • token_mint_x
    Read-only
  • token_mint_y
    Read-only
  • reserve_x
    Writable
  • reserve_y
    Writable
  • oracle
    Writable
  • user_token_x
    Read-only
  • funder
    WritableSigner
  • token_badge_x
    Read-onlyOptional
  • token_badge_y
    Read-onlyOptional
  • token_program_x
    Read-only
  • token_program_y
    Read-only
  • system_program
    Read-only
  • user_token_y
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_lb_pair Expand

Arguments

NameType
active_idi32
bin_stepu16

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • token_mint_x
    Read-only
  • token_mint_y
    Read-only
  • reserve_x
    Writable
  • reserve_y
    Writable
  • oracle
    Writable
  • preset_parameter
    Read-only
  • funder
    WritableSigner
  • token_program
    Read-only
  • system_program
    Read-only
  • rent
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_lb_pair2 Expand

Arguments

NameType
paramsInitializeLbPair2Params

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • token_mint_x
    Read-only
  • token_mint_y
    Read-only
  • reserve_x
    Writable
  • reserve_y
    Writable
  • oracle
    Writable
  • preset_parameter
    Read-only
  • funder
    WritableSigner
  • token_badge_x
    Read-onlyOptional
  • token_badge_y
    Read-onlyOptional
  • token_program_x
    Read-only
  • token_program_y
    Read-only
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_permission_lb_pair Expand

Arguments

NameType
ix_dataInitPermissionPairIx

Accounts

  • base
    Read-onlySigner
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • token_mint_x
    Read-only
  • token_mint_y
    Read-only
  • reserve_x
    Writable
  • reserve_y
    Writable
  • oracle
    Writable
  • payer
    WritableSigner
  • operator
    Read-only
  • signer
    Read-onlySigner
  • token_badge_x
    Read-onlyOptional
  • token_badge_y
    Read-onlyOptional
  • token_program_x
    Read-only
  • token_program_y
    Read-only
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_position Expand

Arguments

NameType
lower_bin_idi32
widthi32

Accounts

  • payer
    WritableSigner
  • position
    WritableSigner
  • lb_pair
    Read-only
  • owner
    Read-onlySigner
  • system_program
    Read-only
  • rent
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_position2 Expand

Arguments

NameType
lower_bin_idi32
widthi32

Accounts

  • payer
    WritableSigner
  • position
    WritableSigner
  • lb_pair
    Read-only
  • owner
    Read-onlySigner
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_position_by_operator Expand

Arguments

NameType
lower_bin_idi32
widthi32
fee_ownerpubkey
lock_release_pointu64

Accounts

  • payer
    WritableSigner
  • base
    Read-onlySigner
  • position
    Writable
  • lb_pair
    Read-only
  • owner
    Read-only
  • operator
    Read-onlySigner
  • operator_token_x
    Read-only
  • owner_token_x
    Read-only
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_position_pda Expand

Arguments

NameType
lower_bin_idi32
widthi32

Accounts

  • payer
    WritableSigner
  • base
    Read-onlySigner
  • position
    Writable
  • lb_pair
    Read-only
  • owner
    Read-onlySigner
  • system_program
    Read-only
  • rent
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_preset_parameter Expand

Arguments

NameType
ixInitPresetParametersIx

Accounts

  • preset_parameter
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
  • payer
    WritableSigner
  • system_program
    Read-only
initialize_reward Expand

Arguments

NameType
reward_indexu64
reward_durationu64
funderpubkey

Accounts

  • lb_pair
    Writable
  • reward_vault
    Writable
  • reward_mint
    Read-only
  • token_badge
    Read-onlyOptional
  • operator
    Read-only
  • signer
    Read-onlySigner
  • payer
    WritableSigner
  • token_program
    Read-only
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
initialize_token_badge Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • token_mint
    Read-only
  • token_badge
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
  • payer
    WritableSigner
  • system_program
    Read-only
place_limit_order Expand

Arguments

NameType
paramsPlaceLimitOrderParams
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • reserve
    Writable
  • token_mint
    Read-only
  • limit_order
    WritableSigner
  • payer
    WritableSigner
  • owner
    Read-only
  • user_token
    Writable
  • sender
    Read-onlySigner
  • token_program
    Read-only
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
rebalance_liquidity Expand

Arguments

NameType
paramsRebalanceLiquidityParams
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • owner
    Read-onlySigner
  • rent_payer
    WritableSigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • memo_program
    Read-only
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
remove_all_liquidity Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
remove_liquidity Expand

Arguments

NameType
bin_liquidity_removalBinLiquidityReduction[]

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
remove_liquidity2 Expand

Arguments

NameType
bin_liquidity_removalBinLiquidityReduction[]
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • memo_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
remove_liquidity_by_range Expand

Arguments

NameType
from_bin_idi32
to_bin_idi32
bps_to_removeu16

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
remove_liquidity_by_range2 Expand

Arguments

NameType
from_bin_idi32
to_bin_idi32
bps_to_removeu16
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • user_token_x
    Writable
  • user_token_y
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • sender
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • memo_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
set_activation_point Expand

Arguments

NameType
activation_pointu64

Accounts

  • lb_pair
    Writable
  • signer
    Read-onlySigner
set_pair_status Expand

Arguments

NameType
statusu8

Accounts

  • lb_pair
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
set_pair_status_permissionless Expand

Arguments

NameType
statusu8

Accounts

  • lb_pair
    Writable
  • signer
    Read-onlySigner
set_permissionless_operation_bits Expand

Arguments

NameType
bitsu8

Accounts

  • position
    Writable
  • owner
    Read-onlySigner
  • event_authority
    Read-only
  • program
    Read-only
set_pre_activation_duration Expand

Arguments

NameType
pre_activation_durationu64

Accounts

  • lb_pair
    Writable
  • signer
    Read-onlySigner
set_pre_activation_swap_address Expand

Arguments

NameType
pre_activation_swap_addresspubkey

Accounts

  • lb_pair
    Writable
  • signer
    Read-onlySigner
swap Expand

Arguments

NameType
amount_inu64
min_amount_outu64

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • reserve_x
    Writable
  • reserve_y
    Writable
  • user_token_in
    Writable
  • user_token_out
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • oracle
    Writable
  • host_fee_in
    WritableOptional
  • user
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
swap2 Expand

Arguments

NameType
amount_inu64
min_amount_outu64
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • reserve_x
    Writable
  • reserve_y
    Writable
  • user_token_in
    Writable
  • user_token_out
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • oracle
    Writable
  • host_fee_in
    WritableOptional
  • user
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • memo_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
swap_exact_out Expand

Arguments

NameType
max_in_amountu64
out_amountu64

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • reserve_x
    Writable
  • reserve_y
    Writable
  • user_token_in
    Writable
  • user_token_out
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • oracle
    Writable
  • host_fee_in
    WritableOptional
  • user
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
swap_exact_out2 Expand

Arguments

NameType
max_in_amountu64
out_amountu64
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • reserve_x
    Writable
  • reserve_y
    Writable
  • user_token_in
    Writable
  • user_token_out
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • oracle
    Writable
  • host_fee_in
    WritableOptional
  • user
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • memo_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
swap_with_price_impact Expand

Arguments

NameType
amount_inu64
active_idi32 | null
max_price_impact_bpsu16

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • reserve_x
    Writable
  • reserve_y
    Writable
  • user_token_in
    Writable
  • user_token_out
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • oracle
    Writable
  • host_fee_in
    WritableOptional
  • user
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
swap_with_price_impact2 Expand

Arguments

NameType
amount_inu64
active_idi32 | null
max_price_impact_bpsu16
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • bin_array_bitmap_extension
    WritableOptional
  • reserve_x
    Writable
  • reserve_y
    Writable
  • user_token_in
    Writable
  • user_token_out
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • oracle
    Writable
  • host_fee_in
    WritableOptional
  • user
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
  • memo_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
update_base_fee_parameters Expand

Arguments

NameType
fee_parameterBaseFeeParameter

Accounts

  • lb_pair
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
  • event_authority
    Read-only
  • program
    Read-only
update_dynamic_fee_parameters Expand

Arguments

NameType
fee_parameterDynamicFeeParameter

Accounts

  • lb_pair
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
  • event_authority
    Read-only
  • program
    Read-only
update_fees_and_reward2 Expand

Arguments

NameType
min_bin_idi32
max_bin_idi32

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • owner
    Read-onlySigner
update_fees_and_rewards Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • position
    Writable
  • lb_pair
    Writable
  • bin_array_lower
    Writable
  • bin_array_upper
    Writable
  • owner
    Read-onlySigner
update_position_operator Expand

Arguments

NameType
operatorpubkey

Accounts

  • position
    Writable
  • owner
    Read-onlySigner
  • event_authority
    Read-only
  • program
    Read-only
update_reward_duration Expand

Arguments

NameType
reward_indexu64
new_durationu64

Accounts

  • lb_pair
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
  • bin_array
    Writable
  • event_authority
    Read-only
  • program
    Read-only
update_reward_funder Expand

Arguments

NameType
reward_indexu64
new_funderpubkey

Accounts

  • lb_pair
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
  • event_authority
    Read-only
  • program
    Read-only
withdraw_ineligible_reward Expand

Arguments

NameType
reward_indexu64
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • reward_vault
    Writable
  • reward_mint
    Read-only
  • funder_token_account
    Writable
  • funder
    Read-onlySigner
  • bin_array
    Writable
  • token_program
    Read-only
  • memo_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
withdraw_protocol_fee Expand

Arguments

NameType
max_amount_xu64
max_amount_yu64
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • reserve_x
    Writable
  • reserve_y
    Writable
  • token_x_mint
    Read-only
  • token_y_mint
    Read-only
  • receiver_token_x
    Writable
  • receiver_token_y
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
  • token_x_program
    Read-only
  • token_y_program
    Read-only
zap_protocol_fee Expand

Arguments

NameType
max_amountu64
remaining_accounts_infoRemainingAccountsInfo

Accounts

  • lb_pair
    Writable
  • reserve
    Writable
  • token_mint
    Read-only
  • receiver_token
    Writable
  • operator
    Read-only
  • signer
    Read-onlySigner
  • token_program
    Read-only
  • sysvar_instructions
    Read-only

Program-defined data

IDL events (30)

These are events defined by the Meteora DLMM Program IDL.

AddLiquidity 5 fields
  • lb_pair pubkey
  • from pubkey
  • position pubkey
  • amounts [u64; 2]
  • active_bin_id i32
CancelLimitOrderEvt 6 fields
  • lb_pair pubkey
  • from pubkey
  • limit_order pubkey
  • amounts [u64; 2]
  • active_id i32
  • bins i32[]
ClaimFee 5 fields
  • lb_pair pubkey
  • position pubkey
  • owner pubkey
  • fee_x u64
  • fee_y u64
ClaimFee2 6 fields
  • lb_pair pubkey
  • position pubkey
  • owner pubkey
  • fee_x u64
  • fee_y u64
  • active_bin_id i32
ClaimReward 5 fields
  • lb_pair pubkey
  • position pubkey
  • owner pubkey
  • reward_index u64
  • total_reward u64
ClaimReward2 6 fields
  • lb_pair pubkey
  • position pubkey
  • owner pubkey
  • reward_index u64
  • total_reward u64
  • active_bin_id i32
CloseLimitOrderEvt 3 fields
  • lb_pair pubkey
  • owner pubkey
  • limit_order pubkey
CompositionFee 6 fields
  • from pubkey
  • bin_id i16
  • token_x_fee_amount u64
  • token_y_fee_amount u64
  • protocol_token_x_fee_amount u64
  • protocol_token_y_fee_amount u64
DecreasePositionLength 5 fields
  • lb_pair pubkey
  • position pubkey
  • owner pubkey
  • length_to_remove u16
  • side u8
DynamicFeeParameterUpdate 6 fields
  • lb_pair pubkey
  • filter_period u16
  • decay_period u16
  • reduction_factor u16
  • variable_fee_control u32
  • max_volatility_accumulator u32
FeeParameterUpdate 4 fields
  • lb_pair pubkey
  • protocol_share u16
  • base_factor u16
  • base_fee_power_factor u8
FundReward 4 fields
  • lb_pair pubkey
  • funder pubkey
  • reward_index u64
  • amount u64
GoToABin 3 fields
  • lb_pair pubkey
  • from_bin_id i32
  • to_bin_id i32
IncreaseObservation 2 fields
  • oracle pubkey
  • new_observation_length u64
IncreasePositionLength 5 fields
  • lb_pair pubkey
  • position pubkey
  • owner pubkey
  • length_to_add u16
  • side u8
InitializeReward 5 fields
  • lb_pair pubkey
  • reward_mint pubkey
  • funder pubkey
  • reward_index u64
  • reward_duration u64
LbPairCreate 4 fields
  • lb_pair pubkey
  • bin_step u16
  • token_x pubkey
  • token_y pubkey
PlaceLimitOrderEvt 6 fields
  • lb_pair pubkey
  • sender pubkey
  • owner pubkey
  • limit_order pubkey
  • active_id i32
  • params PlaceLimitOrderParams
PositionClose 2 fields
  • position pubkey
  • owner pubkey
PositionCreate 3 fields
  • lb_pair pubkey
  • position pubkey
  • owner pubkey
Rebalancing 15 fields
  • lb_pair pubkey
  • position pubkey
  • owner pubkey
  • active_bin_id i32
  • x_withdrawn_amount u64
  • x_added_amount u64
  • y_withdrawn_amount u64
  • y_added_amount u64
  • x_fee_amount u64
  • y_fee_amount u64
  • old_min_id i32
  • old_max_id i32
  • new_min_id i32
  • new_max_id i32
  • rewards [u64; 2]
RemoveLiquidity 5 fields
  • lb_pair pubkey
  • from pubkey
  • position pubkey
  • amounts [u64; 2]
  • active_bin_id i32
SetPositionPermissionlessOperationBitsEvt 4 fields
  • position pubkey
  • owner pubkey
  • old_bits u8
  • new_bits u8
Swap 11 fields
  • lb_pair pubkey
  • from pubkey
  • start_bin_id i32
  • end_bin_id i32
  • amount_in u64
  • amount_out u64
  • swap_for_y bool
  • fee u64
  • protocol_fee u64
  • fee_bps u128
  • host_fee u64
Swap2Evt 15 fields
  • lb_pair pubkey
  • from pubkey
  • start_bin_id i32
  • end_bin_id i32
  • swap_for_y bool
  • fee_bps u128
  • amount_in u64
  • amount_left u64
  • amount_out u64
  • mm_fee u64
  • protocol_fee u64
  • limit_order_fee u64
  • host_fee u64
  • fees_on_input bool
  • fees_on_token_x bool
UpdatePositionLockReleasePoint 5 fields
  • position pubkey
  • current_point u64
  • new_lock_release_point u64
  • old_lock_release_point u64
  • sender pubkey
UpdatePositionOperator 3 fields
  • position pubkey
  • old_operator pubkey
  • new_operator pubkey
UpdateRewardDuration 4 fields
  • lb_pair pubkey
  • reward_index u64
  • old_reward_duration u64
  • new_reward_duration u64
UpdateRewardFunder 4 fields
  • lb_pair pubkey
  • reward_index u64
  • old_funder pubkey
  • new_funder pubkey
WithdrawIneligibleReward 3 fields
  • lb_pair pubkey
  • reward_mint pubkey
  • amount u64

Filter vocabulary

Runtime account roles (62)

Use these exact describeProgram role names when building Parsed Streams account-role filters.

  • base
  • bin_array
  • bin_array_bitmap_extension
  • bin_array_lower
  • bin_array_upper
  • claim_fee_operator
  • dummy_zc_account
  • event_authority
  • from_bin_array
  • funder
  • funder_token_account
  • host_fee_in
  • lb_pair
  • limit_order
  • memo_program
  • operator
  • operator_token_x
  • oracle
  • owner
  • owner_token_x
  • owner_token_y
  • payer
  • position
  • preset_parameter
  • program
  • receiver_token
  • receiver_token_x
  • receiver_token_y
  • rent
  • rent_payer
  • rent_receiver
  • reserve
  • reserve_x
  • reserve_y
  • reward_mint
  • reward_vault
  • sender
  • signer
  • system_program
  • sysvar_instructions
  • to_bin_array
  • token_badge
  • token_badge_x
  • token_badge_y
  • token_mint
  • token_mint_x
  • token_mint_y
  • token_program
  • token_program_x
  • token_program_y
  • token_x_mint
  • token_x_program
  • token_y_mint
  • token_y_program
  • user
  • user_token
  • user_token_account
  • user_token_in
  • user_token_out
  • user_token_x
  • user_token_y
  • whitelisted_signer
CTA Video
Divider Image

Parsed Streams documentation

View all
experience the difference

Get started

Parsed Streams is available on all paid plans