Solana Data APIs
Meteora DLMM Program Data API
Explore decoded instructions, events, and account roles for Meteora DLMM Program.
LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxodescribeProgram
Call describeProgram to get a parsed list of instructions, accounts, and
roles for Meteora DLMM Program
and 3,600+ Solana programs.
{
"jsonrpc": "2.0",
"id": 1,
"method": "describeProgram",
"params": [
{
"program": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
}
]
}{
"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.
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 Collapse
Arguments
| Name | Type |
|---|---|
| liquidity_parameter | LiquidityParameter |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
add_liquidity2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| liquidity_parameter | LiquidityParameter |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
add_liquidity_by_strategy Expand Collapse
Arguments
| Name | Type |
|---|---|
| liquidity_parameter | LiquidityParameterByStrategy |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
add_liquidity_by_strategy2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| liquidity_parameter | LiquidityParameterByStrategy |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
add_liquidity_by_strategy_one_side Expand Collapse
Arguments
| Name | Type |
|---|---|
| liquidity_parameter | LiquidityParameterByStrategyOneSide |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_tokenWritable -
reserveWritable -
token_mintRead-only -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
token_programRead-only -
event_authorityRead-only -
programRead-only
add_liquidity_by_weight Expand Collapse
Arguments
| Name | Type |
|---|---|
| liquidity_parameter | LiquidityParameterByWeight |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
add_liquidity_by_weight2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| liquidity_parameter | LiquidityParameterByWeight |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
add_liquidity_one_side Expand Collapse
Arguments
| Name | Type |
|---|---|
| liquidity_parameter | LiquidityOneSideParameter |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_tokenWritable -
reserveWritable -
token_mintRead-only -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
token_programRead-only -
event_authorityRead-only -
programRead-only
add_liquidity_one_side_precise Expand Collapse
Arguments
| Name | Type |
|---|---|
| parameter | AddLiquiditySingleSidePreciseParameter |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_tokenWritable -
reserveWritable -
token_mintRead-only -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
token_programRead-only -
event_authorityRead-only -
programRead-only
add_liquidity_one_side_precise2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| liquidity_parameter | AddLiquiditySingleSidePreciseParameter2 |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_tokenWritable -
reserveWritable -
token_mintRead-only -
senderRead-onlySigner -
token_programRead-only -
event_authorityRead-only -
programRead-only
cancel_limit_order Expand Collapse
Arguments
| Name | Type |
|---|---|
| bins | i32[] |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
limit_orderWritable -
owner_token_xWritable -
owner_token_yWritable -
ownerRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
memo_programRead-only -
event_authorityRead-only -
programRead-only
claim_fee Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
lb_pairWritable -
positionWritable -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
reserve_xWritable -
reserve_yWritable -
user_token_xWritable -
user_token_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
token_programRead-only -
event_authorityRead-only -
programRead-only
claim_fee2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| min_bin_id | i32 |
| max_bin_id | i32 |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
positionWritable -
senderRead-onlySigner -
reserve_xWritable -
reserve_yWritable -
user_token_xWritable -
user_token_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
token_program_xRead-only -
token_program_yRead-only -
memo_programRead-only -
event_authorityRead-only -
programRead-only
claim_reward Expand Collapse
Arguments
| Name | Type |
|---|---|
| reward_index | u64 |
Accounts
-
lb_pairWritable -
positionWritable -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
reward_vaultWritable -
reward_mintRead-only -
user_token_accountWritable -
token_programRead-only -
event_authorityRead-only -
programRead-only
claim_reward2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| reward_index | u64 |
| min_bin_id | i32 |
| max_bin_id | i32 |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
positionWritable -
senderRead-onlySigner -
reward_vaultWritable -
reward_mintRead-only -
user_token_accountWritable -
token_programRead-only -
memo_programRead-only -
event_authorityRead-only -
programRead-only
close_bin_array Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
lb_pairRead-only -
bin_arrayWritable -
rent_receiverWritableSigner -
signerRead-onlySigner
close_claim_fee_operator_account Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
claim_fee_operatorWritable -
rent_receiverWritable -
signerRead-onlySigner
close_limit_order_if_empty Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
limit_orderWritable -
ownerRead-onlySigner -
rent_receiverWritable -
event_authorityRead-only -
programRead-only
close_operator_account Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
operatorWritable -
signerRead-onlySigner -
rent_receiverWritable
close_position Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
rent_receiverWritable -
event_authorityRead-only -
programRead-only
close_position2 Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
positionWritable -
senderRead-onlySigner -
rent_receiverWritable -
event_authorityRead-only -
programRead-only
close_position_if_empty Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
positionWritable -
senderRead-onlySigner -
rent_receiverWritable -
event_authorityRead-only -
programRead-only
close_preset_parameter Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
preset_parameterWritable -
operatorRead-only -
signerRead-onlySigner -
rent_receiverWritable
close_preset_parameter2 Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
preset_parameterWritable -
operatorRead-only -
signerRead-onlySigner -
rent_receiverWritable
close_token_badge Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
token_badgeWritable -
rent_receiverWritable -
operatorRead-only -
signerRead-onlySigner
create_operator_account Expand Collapse
Arguments
| Name | Type |
|---|---|
| permission | u128 |
Accounts
-
operatorWritable -
whitelisted_signerRead-only -
signerRead-onlySigner -
payerWritableSigner -
system_programRead-only
decrease_position_length Expand Collapse
Arguments
| Name | Type |
|---|---|
| length_to_remove | u16 |
| side | u8 |
Accounts
-
rent_receiverWritable -
positionWritable -
ownerRead-onlySigner -
system_programRead-only -
event_authorityRead-only -
programRead-only
for_idl_type_generation_do_not_call Expand Collapse
Arguments
| Name | Type |
|---|---|
| _ix | DummyIx |
Accounts
-
dummy_zc_accountRead-only
fund_reward Expand Collapse
Arguments
| Name | Type |
|---|---|
| reward_index | u64 |
| amount | u64 |
| carry_forward | bool |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
reward_vaultWritable -
reward_mintRead-only -
funder_token_accountWritable -
funderRead-onlySigner -
bin_arrayWritable -
token_programRead-only -
event_authorityRead-only -
programRead-only
go_to_a_bin Expand Collapse
Arguments
| Name | Type |
|---|---|
| bin_id | i32 |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionRead-onlyOptional -
from_bin_arrayRead-onlyOptional -
to_bin_arrayRead-onlyOptional -
event_authorityRead-only -
programRead-only
increase_oracle_length Expand Collapse
Arguments
| Name | Type |
|---|---|
| length_to_add | u64 |
Accounts
-
oracleWritable -
funderWritableSigner -
system_programRead-only -
event_authorityRead-only -
programRead-only
increase_position_length Expand Collapse
Arguments
| Name | Type |
|---|---|
| length_to_add | u16 |
| side | u8 |
Accounts
-
funderWritableSigner -
lb_pairRead-only -
positionWritable -
ownerRead-onlySigner -
system_programRead-only -
event_authorityRead-only -
programRead-only
increase_position_length2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| minimum_upper_bin_id | i32 |
Accounts
-
funderWritableSigner -
lb_pairRead-only -
positionWritable -
ownerRead-onlySigner -
system_programRead-only -
event_authorityRead-only -
programRead-only
initialize_bin_array Expand Collapse
Arguments
| Name | Type |
|---|---|
| index | i64 |
Accounts
-
lb_pairRead-only -
bin_arrayWritable -
funderWritableSigner -
system_programRead-only
initialize_bin_array_bitmap_extension Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
lb_pairRead-only -
bin_array_bitmap_extensionWritable -
funderWritableSigner -
system_programRead-only -
rentRead-only
initialize_customizable_permissionless_lb_pair Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | CustomizableParams |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
token_mint_xRead-only -
token_mint_yRead-only -
reserve_xWritable -
reserve_yWritable -
oracleWritable -
user_token_xRead-only -
funderWritableSigner -
token_programRead-only -
system_programRead-only -
user_token_yRead-only -
event_authorityRead-only -
programRead-only
initialize_customizable_permissionless_lb_pair2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | CustomizableParams |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
token_mint_xRead-only -
token_mint_yRead-only -
reserve_xWritable -
reserve_yWritable -
oracleWritable -
user_token_xRead-only -
funderWritableSigner -
token_badge_xRead-onlyOptional -
token_badge_yRead-onlyOptional -
token_program_xRead-only -
token_program_yRead-only -
system_programRead-only -
user_token_yRead-only -
event_authorityRead-only -
programRead-only
initialize_lb_pair Expand Collapse
Arguments
| Name | Type |
|---|---|
| active_id | i32 |
| bin_step | u16 |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
token_mint_xRead-only -
token_mint_yRead-only -
reserve_xWritable -
reserve_yWritable -
oracleWritable -
preset_parameterRead-only -
funderWritableSigner -
token_programRead-only -
system_programRead-only -
rentRead-only -
event_authorityRead-only -
programRead-only
initialize_lb_pair2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | InitializeLbPair2Params |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
token_mint_xRead-only -
token_mint_yRead-only -
reserve_xWritable -
reserve_yWritable -
oracleWritable -
preset_parameterRead-only -
funderWritableSigner -
token_badge_xRead-onlyOptional -
token_badge_yRead-onlyOptional -
token_program_xRead-only -
token_program_yRead-only -
system_programRead-only -
event_authorityRead-only -
programRead-only
initialize_permission_lb_pair Expand Collapse
Arguments
| Name | Type |
|---|---|
| ix_data | InitPermissionPairIx |
Accounts
-
baseRead-onlySigner -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
token_mint_xRead-only -
token_mint_yRead-only -
reserve_xWritable -
reserve_yWritable -
oracleWritable -
payerWritableSigner -
operatorRead-only -
signerRead-onlySigner -
token_badge_xRead-onlyOptional -
token_badge_yRead-onlyOptional -
token_program_xRead-only -
token_program_yRead-only -
system_programRead-only -
event_authorityRead-only -
programRead-only
initialize_position Expand Collapse
Arguments
| Name | Type |
|---|---|
| lower_bin_id | i32 |
| width | i32 |
Accounts
-
payerWritableSigner -
positionWritableSigner -
lb_pairRead-only -
ownerRead-onlySigner -
system_programRead-only -
rentRead-only -
event_authorityRead-only -
programRead-only
initialize_position2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| lower_bin_id | i32 |
| width | i32 |
Accounts
-
payerWritableSigner -
positionWritableSigner -
lb_pairRead-only -
ownerRead-onlySigner -
system_programRead-only -
event_authorityRead-only -
programRead-only
initialize_position_by_operator Expand Collapse
Arguments
| Name | Type |
|---|---|
| lower_bin_id | i32 |
| width | i32 |
| fee_owner | pubkey |
| lock_release_point | u64 |
Accounts
-
payerWritableSigner -
baseRead-onlySigner -
positionWritable -
lb_pairRead-only -
ownerRead-only -
operatorRead-onlySigner -
operator_token_xRead-only -
owner_token_xRead-only -
system_programRead-only -
event_authorityRead-only -
programRead-only
initialize_position_pda Expand Collapse
Arguments
| Name | Type |
|---|---|
| lower_bin_id | i32 |
| width | i32 |
Accounts
-
payerWritableSigner -
baseRead-onlySigner -
positionWritable -
lb_pairRead-only -
ownerRead-onlySigner -
system_programRead-only -
rentRead-only -
event_authorityRead-only -
programRead-only
initialize_preset_parameter Expand Collapse
Arguments
| Name | Type |
|---|---|
| ix | InitPresetParametersIx |
Accounts
-
preset_parameterWritable -
operatorRead-only -
signerRead-onlySigner -
payerWritableSigner -
system_programRead-only
initialize_reward Expand Collapse
Arguments
| Name | Type |
|---|---|
| reward_index | u64 |
| reward_duration | u64 |
| funder | pubkey |
Accounts
-
lb_pairWritable -
reward_vaultWritable -
reward_mintRead-only -
token_badgeRead-onlyOptional -
operatorRead-only -
signerRead-onlySigner -
payerWritableSigner -
token_programRead-only -
system_programRead-only -
event_authorityRead-only -
programRead-only
initialize_token_badge Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
token_mintRead-only -
token_badgeWritable -
operatorRead-only -
signerRead-onlySigner -
payerWritableSigner -
system_programRead-only
place_limit_order Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | PlaceLimitOrderParams |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
reserveWritable -
token_mintRead-only -
limit_orderWritableSigner -
payerWritableSigner -
ownerRead-only -
user_tokenWritable -
senderRead-onlySigner -
token_programRead-only -
system_programRead-only -
event_authorityRead-only -
programRead-only
rebalance_liquidity Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | RebalanceLiquidityParams |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
ownerRead-onlySigner -
rent_payerWritableSigner -
token_x_programRead-only -
token_y_programRead-only -
memo_programRead-only -
system_programRead-only -
event_authorityRead-only -
programRead-only
remove_all_liquidity Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
remove_liquidity Expand Collapse
Arguments
| Name | Type |
|---|---|
| bin_liquidity_removal | BinLiquidityReduction[] |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
remove_liquidity2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| bin_liquidity_removal | BinLiquidityReduction[] |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
memo_programRead-only -
event_authorityRead-only -
programRead-only
remove_liquidity_by_range Expand Collapse
Arguments
| Name | Type |
|---|---|
| from_bin_id | i32 |
| to_bin_id | i32 |
| bps_to_remove | u16 |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
bin_array_lowerWritable -
bin_array_upperWritable -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
remove_liquidity_by_range2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| from_bin_id | i32 |
| to_bin_id | i32 |
| bps_to_remove | u16 |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
user_token_xWritable -
user_token_yWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
senderRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
memo_programRead-only -
event_authorityRead-only -
programRead-only
set_activation_point Expand Collapse
Arguments
| Name | Type |
|---|---|
| activation_point | u64 |
Accounts
-
lb_pairWritable -
signerRead-onlySigner
set_pair_status Expand Collapse
Arguments
| Name | Type |
|---|---|
| status | u8 |
Accounts
-
lb_pairWritable -
operatorRead-only -
signerRead-onlySigner
set_pair_status_permissionless Expand Collapse
Arguments
| Name | Type |
|---|---|
| status | u8 |
Accounts
-
lb_pairWritable -
signerRead-onlySigner
set_permissionless_operation_bits Expand Collapse
Arguments
| Name | Type |
|---|---|
| bits | u8 |
Accounts
-
positionWritable -
ownerRead-onlySigner -
event_authorityRead-only -
programRead-only
set_pre_activation_duration Expand Collapse
Arguments
| Name | Type |
|---|---|
| pre_activation_duration | u64 |
Accounts
-
lb_pairWritable -
signerRead-onlySigner
set_pre_activation_swap_address Expand Collapse
Arguments
| Name | Type |
|---|---|
| pre_activation_swap_address | pubkey |
Accounts
-
lb_pairWritable -
signerRead-onlySigner
swap Expand Collapse
Arguments
| Name | Type |
|---|---|
| amount_in | u64 |
| min_amount_out | u64 |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
reserve_xWritable -
reserve_yWritable -
user_token_inWritable -
user_token_outWritable -
token_x_mintRead-only -
token_y_mintRead-only -
oracleWritable -
host_fee_inWritableOptional -
userRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
swap2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| amount_in | u64 |
| min_amount_out | u64 |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
reserve_xWritable -
reserve_yWritable -
user_token_inWritable -
user_token_outWritable -
token_x_mintRead-only -
token_y_mintRead-only -
oracleWritable -
host_fee_inWritableOptional -
userRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
memo_programRead-only -
event_authorityRead-only -
programRead-only
swap_exact_out Expand Collapse
Arguments
| Name | Type |
|---|---|
| max_in_amount | u64 |
| out_amount | u64 |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
reserve_xWritable -
reserve_yWritable -
user_token_inWritable -
user_token_outWritable -
token_x_mintRead-only -
token_y_mintRead-only -
oracleWritable -
host_fee_inWritableOptional -
userRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
swap_exact_out2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| max_in_amount | u64 |
| out_amount | u64 |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
reserve_xWritable -
reserve_yWritable -
user_token_inWritable -
user_token_outWritable -
token_x_mintRead-only -
token_y_mintRead-only -
oracleWritable -
host_fee_inWritableOptional -
userRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
memo_programRead-only -
event_authorityRead-only -
programRead-only
swap_with_price_impact Expand Collapse
Arguments
| Name | Type |
|---|---|
| amount_in | u64 |
| active_id | i32 | null |
| max_price_impact_bps | u16 |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
reserve_xWritable -
reserve_yWritable -
user_token_inWritable -
user_token_outWritable -
token_x_mintRead-only -
token_y_mintRead-only -
oracleWritable -
host_fee_inWritableOptional -
userRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
event_authorityRead-only -
programRead-only
swap_with_price_impact2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| amount_in | u64 |
| active_id | i32 | null |
| max_price_impact_bps | u16 |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
bin_array_bitmap_extensionWritableOptional -
reserve_xWritable -
reserve_yWritable -
user_token_inWritable -
user_token_outWritable -
token_x_mintRead-only -
token_y_mintRead-only -
oracleWritable -
host_fee_inWritableOptional -
userRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only -
memo_programRead-only -
event_authorityRead-only -
programRead-only
update_base_fee_parameters Expand Collapse
Arguments
| Name | Type |
|---|---|
| fee_parameter | BaseFeeParameter |
Accounts
-
lb_pairWritable -
operatorRead-only -
signerRead-onlySigner -
event_authorityRead-only -
programRead-only
update_dynamic_fee_parameters Expand Collapse
Arguments
| Name | Type |
|---|---|
| fee_parameter | DynamicFeeParameter |
Accounts
-
lb_pairWritable -
operatorRead-only -
signerRead-onlySigner -
event_authorityRead-only -
programRead-only
update_fees_and_reward2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| min_bin_id | i32 |
| max_bin_id | i32 |
Accounts
-
positionWritable -
lb_pairWritable -
ownerRead-onlySigner
update_fees_and_rewards Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
positionWritable -
lb_pairWritable -
bin_array_lowerWritable -
bin_array_upperWritable -
ownerRead-onlySigner
update_position_operator Expand Collapse
Arguments
| Name | Type |
|---|---|
| operator | pubkey |
Accounts
-
positionWritable -
ownerRead-onlySigner -
event_authorityRead-only -
programRead-only
update_reward_duration Expand Collapse
Arguments
| Name | Type |
|---|---|
| reward_index | u64 |
| new_duration | u64 |
Accounts
-
lb_pairWritable -
operatorRead-only -
signerRead-onlySigner -
bin_arrayWritable -
event_authorityRead-only -
programRead-only
update_reward_funder Expand Collapse
Arguments
| Name | Type |
|---|---|
| reward_index | u64 |
| new_funder | pubkey |
Accounts
-
lb_pairWritable -
operatorRead-only -
signerRead-onlySigner -
event_authorityRead-only -
programRead-only
withdraw_ineligible_reward Expand Collapse
Arguments
| Name | Type |
|---|---|
| reward_index | u64 |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
reward_vaultWritable -
reward_mintRead-only -
funder_token_accountWritable -
funderRead-onlySigner -
bin_arrayWritable -
token_programRead-only -
memo_programRead-only -
event_authorityRead-only -
programRead-only
withdraw_protocol_fee Expand Collapse
Arguments
| Name | Type |
|---|---|
| max_amount_x | u64 |
| max_amount_y | u64 |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
reserve_xWritable -
reserve_yWritable -
token_x_mintRead-only -
token_y_mintRead-only -
receiver_token_xWritable -
receiver_token_yWritable -
operatorRead-only -
signerRead-onlySigner -
token_x_programRead-only -
token_y_programRead-only
zap_protocol_fee Expand Collapse
Arguments
| Name | Type |
|---|---|
| max_amount | u64 |
| remaining_accounts_info | RemainingAccountsInfo |
Accounts
-
lb_pairWritable -
reserveWritable -
token_mintRead-only -
receiver_tokenWritable -
operatorRead-only -
signerRead-onlySigner -
token_programRead-only -
sysvar_instructionsRead-only
Program-defined data
IDL events (30)
These are events defined by the Meteora DLMM Program IDL.
AddLiquidity 5 fields
lb_pairpubkeyfrompubkeypositionpubkeyamounts[u64; 2]active_bin_idi32
CancelLimitOrderEvt 6 fields
lb_pairpubkeyfrompubkeylimit_orderpubkeyamounts[u64; 2]active_idi32binsi32[]
ClaimFee 5 fields
lb_pairpubkeypositionpubkeyownerpubkeyfee_xu64fee_yu64
ClaimFee2 6 fields
lb_pairpubkeypositionpubkeyownerpubkeyfee_xu64fee_yu64active_bin_idi32
ClaimReward 5 fields
lb_pairpubkeypositionpubkeyownerpubkeyreward_indexu64total_rewardu64
ClaimReward2 6 fields
lb_pairpubkeypositionpubkeyownerpubkeyreward_indexu64total_rewardu64active_bin_idi32
CloseLimitOrderEvt 3 fields
lb_pairpubkeyownerpubkeylimit_orderpubkey
CompositionFee 6 fields
frompubkeybin_idi16token_x_fee_amountu64token_y_fee_amountu64protocol_token_x_fee_amountu64protocol_token_y_fee_amountu64
DecreasePositionLength 5 fields
lb_pairpubkeypositionpubkeyownerpubkeylength_to_removeu16sideu8
DynamicFeeParameterUpdate 6 fields
lb_pairpubkeyfilter_periodu16decay_periodu16reduction_factoru16variable_fee_controlu32max_volatility_accumulatoru32
FeeParameterUpdate 4 fields
lb_pairpubkeyprotocol_shareu16base_factoru16base_fee_power_factoru8
FundReward 4 fields
lb_pairpubkeyfunderpubkeyreward_indexu64amountu64
GoToABin 3 fields
lb_pairpubkeyfrom_bin_idi32to_bin_idi32
IncreaseObservation 2 fields
oraclepubkeynew_observation_lengthu64
IncreasePositionLength 5 fields
lb_pairpubkeypositionpubkeyownerpubkeylength_to_addu16sideu8
InitializeReward 5 fields
lb_pairpubkeyreward_mintpubkeyfunderpubkeyreward_indexu64reward_durationu64
LbPairCreate 4 fields
lb_pairpubkeybin_stepu16token_xpubkeytoken_ypubkey
PlaceLimitOrderEvt 6 fields
lb_pairpubkeysenderpubkeyownerpubkeylimit_orderpubkeyactive_idi32paramsPlaceLimitOrderParams
PositionClose 2 fields
positionpubkeyownerpubkey
PositionCreate 3 fields
lb_pairpubkeypositionpubkeyownerpubkey
Rebalancing 15 fields
lb_pairpubkeypositionpubkeyownerpubkeyactive_bin_idi32x_withdrawn_amountu64x_added_amountu64y_withdrawn_amountu64y_added_amountu64x_fee_amountu64y_fee_amountu64old_min_idi32old_max_idi32new_min_idi32new_max_idi32rewards[u64; 2]
RemoveLiquidity 5 fields
lb_pairpubkeyfrompubkeypositionpubkeyamounts[u64; 2]active_bin_idi32
SetPositionPermissionlessOperationBitsEvt 4 fields
positionpubkeyownerpubkeyold_bitsu8new_bitsu8
Swap 11 fields
lb_pairpubkeyfrompubkeystart_bin_idi32end_bin_idi32amount_inu64amount_outu64swap_for_yboolfeeu64protocol_feeu64fee_bpsu128host_feeu64
Swap2Evt 15 fields
lb_pairpubkeyfrompubkeystart_bin_idi32end_bin_idi32swap_for_yboolfee_bpsu128amount_inu64amount_leftu64amount_outu64mm_feeu64protocol_feeu64limit_order_feeu64host_feeu64fees_on_inputboolfees_on_token_xbool
UpdatePositionLockReleasePoint 5 fields
positionpubkeycurrent_pointu64new_lock_release_pointu64old_lock_release_pointu64senderpubkey
UpdatePositionOperator 3 fields
positionpubkeyold_operatorpubkeynew_operatorpubkey
UpdateRewardDuration 4 fields
lb_pairpubkeyreward_indexu64old_reward_durationu64new_reward_durationu64
UpdateRewardFunder 4 fields
lb_pairpubkeyreward_indexu64old_funderpubkeynew_funderpubkey
WithdrawIneligibleReward 3 fields
lb_pairpubkeyreward_mintpubkeyamountu64
Filter vocabulary
Runtime account roles (62)
Use these exact describeProgram role names when building Parsed Streams account-role filters.
basebin_arraybin_array_bitmap_extensionbin_array_lowerbin_array_upperclaim_fee_operatordummy_zc_accountevent_authorityfrom_bin_arrayfunderfunder_token_accounthost_fee_inlb_pairlimit_ordermemo_programoperatoroperator_token_xoracleownerowner_token_xowner_token_ypayerpositionpreset_parameterprogramreceiver_tokenreceiver_token_xreceiver_token_yrentrent_payerrent_receiverreservereserve_xreserve_yreward_mintreward_vaultsendersignersystem_programsysvar_instructionsto_bin_arraytoken_badgetoken_badge_xtoken_badge_ytoken_minttoken_mint_xtoken_mint_ytoken_programtoken_program_xtoken_program_ytoken_x_minttoken_x_programtoken_y_minttoken_y_programuseruser_tokenuser_token_accountuser_token_inuser_token_outuser_token_xuser_token_ywhitelisted_signer


Parsed Streams documentation
View allGet started
Parsed Streams is available on all paid plans


