Solana Data APIs
Meteora DAMM v1 Program Data API
Explore decoded instructions, events, and account roles for Meteora DAMM v1 Program.
Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaBdescribeProgram
Call describeProgram to get a parsed list of instructions, accounts, and
roles for Meteora DAMM v1 Program
and 3,600+ Solana programs.
{
"jsonrpc": "2.0",
"id": 1,
"method": "describeProgram",
"params": [
{
"program": "Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB"
}
]
}{
"jsonrpc": "2.0",
"id": 1,
"method": "describeProgram",
"params": [
{
"program": "Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB"
}
]
}Copyable examples
Stream Meteora DAMM v1 Program data
Subscribe using the Meteora DAMM v1 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: ["Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB"],
instructionNames: ["add_balance_liquidity"],
includeFailed: false,
includeCpi: true,
}],
}));
});Runtime vocabulary
Instructions (26)
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 26 instructions
add_balance_liquidity Expand Collapse
Arguments
| Name | Type |
|---|---|
| poolTokenAmount | u64 |
| maximumTokenAAmount | u64 |
| maximumTokenBAmount | u64 |
Accounts
-
poolWritable -
lp_mintWritable -
user_pool_lpWritable -
a_vault_lpWritable -
b_vault_lpWritable -
a_vaultWritable -
b_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_token_vaultWritable -
b_token_vaultWritable -
user_a_tokenWritable -
user_b_tokenWritable -
userRead-onlySigner -
vault_programRead-only -
token_programRead-only
add_imbalance_liquidity Expand Collapse
Arguments
| Name | Type |
|---|---|
| minimumPoolTokenAmount | u64 |
| tokenAAmount | u64 |
| tokenBAmount | u64 |
Accounts
-
poolWritable -
lp_mintWritable -
user_pool_lpWritable -
a_vault_lpWritable -
b_vault_lpWritable -
a_vaultWritable -
b_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_token_vaultWritable -
b_token_vaultWritable -
user_a_tokenWritable -
user_b_tokenWritable -
userRead-onlySigner -
vault_programRead-only -
token_programRead-only
bootstrap_liquidity Expand Collapse
Arguments
| Name | Type |
|---|---|
| tokenAAmount | u64 |
| tokenBAmount | u64 |
Accounts
-
poolWritable -
lp_mintWritable -
user_pool_lpWritable -
a_vault_lpWritable -
b_vault_lpWritable -
a_vaultWritable -
b_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_token_vaultWritable -
b_token_vaultWritable -
user_a_tokenWritable -
user_b_tokenWritable -
userRead-onlySigner -
vault_programRead-only -
token_programRead-only
claim_fee Expand Collapse
Arguments
| Name | Type |
|---|---|
| maxAmount | u64 |
Accounts
-
poolWritable -
lp_mintWritable -
lock_escrowWritable -
ownerWritableSigner -
source_tokensWritable -
escrow_vaultWritable -
token_programRead-only -
a_token_vaultWritable -
b_token_vaultWritable -
a_vaultWritable -
b_vaultWritable -
a_vault_lpWritable -
b_vault_lpWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
user_a_tokenWritable -
user_b_tokenWritable -
vault_programRead-only
close_config Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
configWritable -
adminWritableSigner -
rent_receiverWritable
create_config Expand Collapse
Arguments
| Name | Type |
|---|---|
| configParameters | ConfigParameters |
Accounts
-
configWritable -
adminWritableSigner -
system_programRead-only
create_lock_escrow Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
poolRead-only -
lock_escrowWritable -
ownerRead-only -
lp_mintRead-only -
payerWritableSigner -
system_programRead-only
create_mint_metadata Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
poolRead-only -
lp_mintRead-only -
a_vault_lpRead-only -
mint_metadataWritable -
metadata_programRead-only -
system_programRead-only -
payerWritableSigner
enable_or_disable_pool Expand Collapse
Arguments
| Name | Type |
|---|---|
| enable | bool |
Accounts
-
poolWritable -
adminRead-onlySigner
get_pool_info Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
poolRead-only -
lp_mintRead-only -
a_vault_lpRead-only -
b_vault_lpRead-only -
a_vaultRead-only -
b_vaultRead-only -
a_vault_lp_mintRead-only -
b_vault_lp_mintRead-only
initialize_customizable_permissionless_constant_product_pool Expand Collapse
Arguments
| Name | Type |
|---|---|
| tokenAAmount | u64 |
| tokenBAmount | u64 |
| params | CustomizableParams |
Accounts
-
poolWritable -
lp_mintWritable -
token_a_mintRead-only -
token_b_mintRead-only -
a_vaultWritable -
b_vaultWritable -
a_token_vaultWritable -
b_token_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_vault_lpWritable -
b_vault_lpWritable -
payer_token_aWritable -
payer_token_bWritable -
payer_pool_lpWritable -
protocol_token_a_feeWritable -
protocol_token_b_feeWritable -
payerWritableSigner -
rentRead-only -
mint_metadataWritable -
metadata_programRead-only -
vault_programRead-only -
token_programRead-only -
associated_token_programRead-only -
system_programRead-only
initialize_permissioned_pool Expand Collapse
Arguments
| Name | Type |
|---|---|
| curveType | CurveType |
Accounts
-
poolWritableSigner -
lp_mintWritable -
token_a_mintRead-only -
token_b_mintRead-only -
a_vaultWritable -
b_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_vault_lpWritable -
b_vault_lpWritable -
admin_token_aWritable -
admin_token_bWritable -
admin_pool_lpWritable -
protocol_token_a_feeWritable -
protocol_token_b_feeWritable -
adminWritableSigner -
fee_ownerRead-only -
rentRead-only -
mint_metadataWritable -
metadata_programRead-only -
vault_programRead-only -
token_programRead-only -
associated_token_programRead-only -
system_programRead-only
initialize_permissionless_constant_product_pool_with_config Expand Collapse
Arguments
| Name | Type |
|---|---|
| tokenAAmount | u64 |
| tokenBAmount | u64 |
Accounts
-
poolWritable -
configRead-only -
lp_mintWritable -
token_a_mintRead-only -
token_b_mintRead-only -
a_vaultWritable -
b_vaultWritable -
a_token_vaultWritable -
b_token_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_vault_lpWritable -
b_vault_lpWritable -
payer_token_aWritable -
payer_token_bWritable -
payer_pool_lpWritable -
protocol_token_a_feeWritable -
protocol_token_b_feeWritable -
payerWritableSigner -
rentRead-only -
mint_metadataWritable -
metadata_programRead-only -
vault_programRead-only -
token_programRead-only -
associated_token_programRead-only -
system_programRead-only
initialize_permissionless_constant_product_pool_with_config2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| tokenAAmount | u64 |
| tokenBAmount | u64 |
| activationPoint | u64 | null |
Accounts
-
poolWritable -
configRead-only -
lp_mintWritable -
token_a_mintRead-only -
token_b_mintRead-only -
a_vaultWritable -
b_vaultWritable -
a_token_vaultWritable -
b_token_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_vault_lpWritable -
b_vault_lpWritable -
payer_token_aWritable -
payer_token_bWritable -
payer_pool_lpWritable -
protocol_token_a_feeWritable -
protocol_token_b_feeWritable -
payerWritableSigner -
rentRead-only -
mint_metadataWritable -
metadata_programRead-only -
vault_programRead-only -
token_programRead-only -
associated_token_programRead-only -
system_programRead-only
initialize_permissionless_pool Expand Collapse
Arguments
| Name | Type |
|---|---|
| curveType | CurveType |
| tokenAAmount | u64 |
| tokenBAmount | u64 |
Accounts
-
poolWritable -
lp_mintWritable -
token_a_mintRead-only -
token_b_mintRead-only -
a_vaultWritable -
b_vaultWritable -
a_token_vaultWritable -
b_token_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_vault_lpWritable -
b_vault_lpWritable -
payer_token_aWritable -
payer_token_bWritable -
payer_pool_lpWritable -
protocol_token_a_feeWritable -
protocol_token_b_feeWritable -
payerWritableSigner -
fee_ownerRead-only -
rentRead-only -
mint_metadataWritable -
metadata_programRead-only -
vault_programRead-only -
token_programRead-only -
associated_token_programRead-only -
system_programRead-only
initialize_permissionless_pool_with_fee_tier Expand Collapse
Arguments
| Name | Type |
|---|---|
| curveType | CurveType |
| tradeFeeBps | u64 |
| tokenAAmount | u64 |
| tokenBAmount | u64 |
Accounts
-
poolWritable -
lp_mintWritable -
token_a_mintRead-only -
token_b_mintRead-only -
a_vaultWritable -
b_vaultWritable -
a_token_vaultWritable -
b_token_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_vault_lpWritable -
b_vault_lpWritable -
payer_token_aWritable -
payer_token_bWritable -
payer_pool_lpWritable -
protocol_token_a_feeWritable -
protocol_token_b_feeWritable -
payerWritableSigner -
fee_ownerRead-only -
rentRead-only -
mint_metadataWritable -
metadata_programRead-only -
vault_programRead-only -
token_programRead-only -
associated_token_programRead-only -
system_programRead-only
lock Expand Collapse
Arguments
| Name | Type |
|---|---|
| maxAmount | u64 |
Accounts
-
poolWritable -
lp_mintRead-only -
lock_escrowWritable -
ownerWritableSigner -
source_tokensWritable -
escrow_vaultWritable -
token_programRead-only -
a_vaultRead-only -
b_vaultRead-only -
a_vault_lpRead-only -
b_vault_lpRead-only -
a_vault_lp_mintRead-only -
b_vault_lp_mintRead-only
override_curve_param Expand Collapse
Arguments
| Name | Type |
|---|---|
| curveType | CurveType |
Accounts
-
poolWritable -
adminRead-onlySigner
partner_claim_fee Expand Collapse
Arguments
| Name | Type |
|---|---|
| maxAmountA | u64 |
| maxAmountB | u64 |
Accounts
-
poolWritable -
a_vault_lpRead-only -
protocol_token_a_feeWritable -
protocol_token_b_feeWritable -
partner_token_aWritable -
partner_token_bWritable -
token_programRead-only -
partner_authorityRead-onlySigner
remove_balance_liquidity Expand Collapse
Arguments
| Name | Type |
|---|---|
| poolTokenAmount | u64 |
| minimumATokenOut | u64 |
| minimumBTokenOut | u64 |
Accounts
-
poolWritable -
lp_mintWritable -
user_pool_lpWritable -
a_vault_lpWritable -
b_vault_lpWritable -
a_vaultWritable -
b_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_token_vaultWritable -
b_token_vaultWritable -
user_a_tokenWritable -
user_b_tokenWritable -
userRead-onlySigner -
vault_programRead-only -
token_programRead-only
remove_liquidity_single_side Expand Collapse
Arguments
| Name | Type |
|---|---|
| poolTokenAmount | u64 |
| minimumOutAmount | u64 |
Accounts
-
poolWritable -
lp_mintWritable -
user_pool_lpWritable -
a_vault_lpWritable -
b_vault_lpWritable -
a_vaultWritable -
b_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_token_vaultWritable -
b_token_vaultWritable -
user_destination_tokenWritable -
userRead-onlySigner -
vault_programRead-only -
token_programRead-only
set_pool_fees Expand Collapse
Arguments
| Name | Type |
|---|---|
| fees | PoolFees |
| newPartnerFeeNumerator | u64 |
Accounts
-
poolWritable -
fee_operatorRead-onlySigner
set_whitelisted_vault Expand Collapse
Arguments
| Name | Type |
|---|---|
| whitelistedVault | publicKey |
Accounts
-
poolWritable -
adminRead-onlySigner
swap Expand Collapse
Arguments
| Name | Type |
|---|---|
| inAmount | u64 |
| minimumOutAmount | u64 |
Accounts
-
poolWritable -
user_source_tokenWritable -
user_destination_tokenWritable -
a_vaultWritable -
b_vaultWritable -
a_token_vaultWritable -
b_token_vaultWritable -
a_vault_lp_mintWritable -
b_vault_lp_mintWritable -
a_vault_lpWritable -
b_vault_lpWritable -
protocol_token_feeWritable -
userRead-onlySigner -
vault_programRead-only -
token_programRead-only
update_activation_point Expand Collapse
Arguments
| Name | Type |
|---|---|
| newActivationPoint | u64 |
Accounts
-
poolWritable -
adminRead-onlySigner
withdraw_protocol_fees Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
poolRead-only -
a_vault_lpRead-only -
protocol_token_a_feeWritable -
protocol_token_b_feeWritable -
treasury_token_aWritable -
treasury_token_bWritable -
token_programRead-only
Program-defined data
IDL events (18)
These are events defined by the Meteora DAMM v1 Program IDL.
AddLiquidity 3 fields
lpMintAmountu64tokenAAmountu64tokenBAmountu64
BootstrapLiquidity 4 fields
lpMintAmountu64tokenAAmountu64tokenBAmountu64poolpublicKey
ClaimFee 5 fields
poolpublicKeyownerpublicKeyamountu64aFeeu64bFeeu64
CloseConfig 1 field
configpublicKey
CreateConfig 3 fields
tradeFeeNumeratoru64protocolTradeFeeNumeratoru64configpublicKey
CreateLockEscrow 2 fields
poolpublicKeyownerpublicKey
Lock 3 fields
poolpublicKeyownerpublicKeyamountu64
MigrateFeeAccount 5 fields
poolpublicKeynewAdminTokenAFeepublicKeynewAdminTokenBFeepublicKeytokenAAmountu64tokenBAmountu64
OverrideCurveParam 3 fields
newAmpu64updatedTimestampu64poolpublicKey
PartnerClaimFees 4 fields
poolpublicKeyfeeAu64feeBu64partnerpublicKey
PoolCreated 5 fields
lpMintpublicKeytokenAMintpublicKeytokenBMintpublicKeypoolTypePoolTypepoolpublicKey
PoolEnabled 2 fields
poolpublicKeyenabledbool
PoolInfo 4 fields
tokenAAmountu64tokenBAmountu64virtualPricef64currentTimestampu64
RemoveLiquidity 3 fields
lpUnmintAmountu64tokenAOutAmountu64tokenBOutAmountu64
SetPoolFees 5 fields
tradeFeeNumeratoru64tradeFeeDenominatoru64protocolTradeFeeNumeratoru64protocolTradeFeeDenominatoru64poolpublicKey
Swap 5 fields
inAmountu64outAmountu64tradeFeeu64protocolFeeu64hostFeeu64
TransferAdmin 3 fields
adminpublicKeynewAdminpublicKeypoolpublicKey
WithdrawProtocolFees 5 fields
poolpublicKeyprotocolAFeeu64protocolBFeeu64protocolAFeeOwnerpublicKeyprotocolBFeeOwnerpublicKey
Filter vocabulary
Runtime account roles (49)
Use these exact describeProgram role names when building Parsed Streams account-role filters.
a_token_vaulta_vaulta_vault_lpa_vault_lp_mintadminadmin_pool_lpadmin_token_aadmin_token_bassociated_token_programb_token_vaultb_vaultb_vault_lpb_vault_lp_mintconfigescrow_vaultfee_operatorfee_ownerlock_escrowlp_mintmetadata_programmint_metadataownerpartner_authoritypartner_token_apartner_token_bpayerpayer_pool_lppayer_token_apayer_token_bpoolprotocol_token_a_feeprotocol_token_b_feeprotocol_token_feerentrent_receiversource_tokenssystem_programtoken_a_minttoken_b_minttoken_programtreasury_token_atreasury_token_buseruser_a_tokenuser_b_tokenuser_destination_tokenuser_pool_lpuser_source_tokenvault_program


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


