Launchpad

Meteora Dynamic Bonding Curve historical data as Parquet

Every Meteora Dynamic Bonding Curve instruction and event in Solana history, decoded with an Anchor IDL that we checked against real transactions. Trawl gives you 29 event tables and 35 instruction tables, with a column for each account, argument and field. Calls from other programs (CPI) are in the result too.

Updated

The preset

Program
dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
Preset
meteora-dbc
Tables
29 event tables and 35 instruction tables, and part-* with the raw bytes of each match
Price
$4 for one recent epoch, $8.68 for one week of chain

The price is the same for every program: you pay for the archive the scan reads, not for the rows. Pricing.

# ask for a price: a 402 with the quote, no payment yet
curl -X POST https://trawl.run/scan \
  -H 'Content-Type: application/json' \
  -d '{"preset":"meteora-dbc","start_epoch":1058,"end_epoch":1058}'

-- then, in DuckDB, on the files of the job
SELECT slot, signature, pool, config, trade_direction
FROM 'ev-evt_swap-*.parquet'
ORDER BY slot
LIMIT 10;

Add "filter": {"accounts": ["<wallet>"]} to keep only the transactions that touch one wallet. How a filter changes a preset.

Event tables

One table for each event in the IDL. Each row also has log_index and the context columns. An event that the program writes two ways gives one row.

ev-evt_claim_creator_trading_fee
fields: pool base58 string, token_base_amount u64, token_quote_amount u64
ev-evt_claim_pool_creation_fee
fields: pool base58 string, receiver base58 string, creation_fee u64
ev-evt_claim_protocol_fee2
fields: pool base58 string, receiver_token_account base58 string, token_mint base58 string, amount u64
ev-evt_claim_trading_fee
fields: pool base58 string, token_base_amount u64, token_quote_amount u64
ev-evt_close_claim_fee_operator
fields: claim_fee_operator base58 string, operator base58 string
ev-evt_close_token_badge
fields: token_mint base58 string
ev-evt_create_claim_fee_operator
fields: operator base58 string
ev-evt_create_config3
fields: config base58 string, quote_mint base58 string, fee_claimer base58 string, leftover_receiver base58 string, config_parameters JSON string, transfer_fee_parameters JSON string
ev-evt_create_config_v2
fields: config base58 string, quote_mint base58 string, fee_claimer base58 string, leftover_receiver base58 string, config_parameters JSON string
ev-evt_create_config_v2_with_transfer_hook
fields: config base58 string, quote_mint base58 string, fee_claimer base58 string, leftover_receiver base58 string, config_parameters JSON string, transfer_hook_program base58 string
ev-evt_create_meteora_migration_metadata
fields: virtual_pool base58 string
ev-evt_create_token_badge
fields: token_mint base58 string
ev-evt_creator_withdraw_surplus
fields: pool base58 string, surplus_amount u64
ev-evt_curve_complete
fields: pool base58 string, config base58 string, base_reserve u64, quote_reserve u64
ev-evt_curve_complete_with_transfer_hook
fields: pool base58 string, config base58 string, base_reserve u64, quote_reserve u64
ev-evt_initialize_pool
fields: pool base58 string, config base58 string, creator base58 string, base_mint base58 string, pool_type u8, activation_point u64
ev-evt_initialize_pool_with_transfer_hook
fields: pool base58 string, config base58 string, creator base58 string, base_mint base58 string, pool_type u8, activation_point u64
ev-evt_partner_claim_pool_creation_fee
fields: pool base58 string, partner base58 string, creation_fee u64, fee_receiver base58 string
ev-evt_partner_metadata
fields: partner_metadata base58 string, fee_claimer base58 string
ev-evt_partner_withdraw_surplus
fields: pool base58 string, surplus_amount u64
ev-evt_swap
fields: pool base58 string, config base58 string, trade_direction u8, has_referral bool, params JSON string, swap_result JSON string, amount_in u64, current_timestamp u64
ev-evt_swap2
fields: pool base58 string, config base58 string, trade_direction u8, has_referral bool, swap_parameters JSON string, swap_result JSON string, quote_reserve_amount u64, migration_threshold u64, current_timestamp u64
ev-evt_swap2_with_transfer_hook
fields: pool base58 string, config base58 string, trade_direction u8, has_referral bool, swap_parameters JSON string, swap_result JSON string, quote_reserve_amount u64, migration_threshold u64, current_timestamp u64
ev-evt_swap3
fields: pool base58 string, config base58 string, trade_direction u8, swap_mode u8, has_referral bool, fee_on_base_token bool, included_transfer_fee_amount_in u64, excluded_transfer_fee_amount_in u64, included_transfer_fee_amount_out u64, excluded_transfer_fee_amount_out u64, trading_fee u64, protocol_fee u64, referral_fee u64, next_sqrt_price decimal string, quote_reserve u64, current_timestamp u64
ev-evt_swap3_with_transfer_hook
fields: pool base58 string, config base58 string, trade_direction u8, swap_mode u8, has_referral bool, fee_on_base_token bool, included_transfer_fee_amount_in u64, excluded_transfer_fee_amount_in u64, included_transfer_fee_amount_out u64, excluded_transfer_fee_amount_out u64, trading_fee u64, protocol_fee u64, referral_fee u64, next_sqrt_price decimal string, quote_reserve u64, current_timestamp u64
ev-evt_update_pool_creator
fields: pool base58 string, creator base58 string, new_creator base58 string
ev-evt_virtual_pool_metadata
fields: virtual_pool_metadata base58 string, virtual_pool base58 string
ev-evt_withdraw_leftover
fields: pool base58 string, leftover_receiver base58 string, leftover_amount u64
ev-evt_withdraw_migration_fee
fields: pool base58 string, field_fee u64, flag u8

Instruction tables

One table for each instruction in the IDL: the named accounts, then the arguments. Each row also has the context columns: slot, tx_index, signature, success, fee, program_id, ix_index, is_inner, inner_index, stack_height, accounts. What each one holds.

ix-claim_creator_trading_fee
accounts: pool_authority, pool, token_a_account, token_b_account, base_vault, quote_vault, base_mint, quote_mint, creator, token_base_program, token_quote_program, event_authority, program
args: max_base_amount u64, max_quote_amount u64
ix-claim_creator_trading_fee2
accounts: pool_authority, pool, token_a_account, token_b_account, base_vault, quote_vault, base_mint, quote_mint, creator, token_base_program, token_quote_program, event_authority, program
args: max_base_amount u64, max_quote_amount u64, transfer_hook_accounts_info JSON string
ix-claim_partner_pool_creation_fee
accounts: config, pool, fee_claimer, fee_receiver, event_authority, program
ix-claim_protocol_fee2
accounts: receiver_token_account, base_mint, quote_mint, token_base_program, token_quote_program, config, pool, base_vault, quote_vault, pool_authority, signer
args: max_amount u64
ix-claim_protocol_pool_creation_fee
accounts: config, pool, operator, signer, treasury, event_authority, program
ix-claim_trading_fee
accounts: pool_authority, config, pool, token_a_account, token_b_account, base_vault, quote_vault, base_mint, quote_mint, fee_claimer, token_base_program, token_quote_program, event_authority, program
args: max_amount_a u64, max_amount_b u64
ix-claim_trading_fee2
accounts: pool_authority, config, pool, token_a_account, token_b_account, base_vault, quote_vault, base_mint, quote_mint, fee_claimer, token_base_program, token_quote_program, event_authority, program
args: max_amount_a u64, max_amount_b u64, transfer_hook_accounts_info JSON string
ix-close_claim_protocol_fee_operator
accounts: claim_fee_operator, rent_receiver, signer, event_authority, program
ix-close_operator_account
accounts: operator, signer, rent_receiver
ix-close_token_badge
accounts: token_badge, operator, signer, rent_receiver, event_authority, program
ix-create_config
accounts: config, fee_claimer, leftover_receiver, quote_mint, payer, system_program, event_authority, program
args: config_parameters JSON string
ix-create_config2
accounts: config, fee_claimer, leftover_receiver, quote_mint, payer, system_program, event_authority, program
args: config_parameters JSON string, transfer_fee_parameters JSON string
ix-create_config_with_transfer_hook
accounts: config, fee_claimer, leftover_receiver, quote_mint, transfer_hook_program, payer, system_program, event_authority, program
args: config_parameters JSON string
ix-create_locker
accounts: virtual_pool, config, pool_authority, base_vault, base_mint, base, creator, escrow, escrow_token, payer, token_program, locker_program, locker_event_authority, system_program
ix-create_operator_account
accounts: operator, whitelisted_address, signer, payer, system_program, event_authority, program
args: permission decimal string
ix-create_partner_metadata
accounts: partner_metadata, payer, fee_claimer, system_program, event_authority, program
args: metadata JSON string
ix-create_token_badge
accounts: token_badge, token_mint, operator, signer, payer, system_program, event_authority, program
ix-create_virtual_pool_metadata
accounts: virtual_pool, virtual_pool_metadata, creator, payer, system_program, event_authority, program
args: metadata JSON string
ix-creator_withdraw_surplus
accounts: pool_authority, config, virtual_pool, token_quote_account, quote_vault, quote_mint, creator, token_quote_program, event_authority, program
ix-initialize_virtual_pool_with_spl_token
accounts: config, pool_authority, creator, base_mint, quote_mint, pool, base_vault, quote_vault, mint_metadata, metadata_program, payer, token_quote_program, token_program, system_program, event_authority, program
args: params JSON string
ix-initialize_virtual_pool_with_token2022
accounts: config, pool_authority, creator, base_mint, quote_mint, pool, base_vault, quote_vault, payer, token_quote_program, token_program, system_program, event_authority, program
args: params JSON string
ix-initialize_virtual_pool_with_token2022_transfer_
accounts: config, pool_authority, creator, base_mint, quote_mint, pool, base_vault, quote_vault, transfer_hook_program, payer, token_quote_program, token_program, system_program, event_authority, program
args: params JSON string
ix-migrate_meteora_damm
accounts: virtual_pool, migration_metadata, config, pool_authority, pool, damm_config, lp_mint, token_a_mint, token_b_mint, a_vault, b_vault, a_token_vault, b_token_vault, a_vault_lp_mint, b_vault_lp_mint, a_vault_lp, b_vault_lp, base_vault, quote_vault, virtual_pool_lp, protocol_token_a_fee, protocol_token_b_fee, payer, rent, mint_metadata, metadata_program, amm_program, vault_program, token_program, associated_token_program, system_program
ix-migrate_meteora_damm_claim_lp_token
accounts: virtual_pool, migration_metadata, pool_authority, lp_mint, source_token, destination_token, owner, sender, token_program
ix-migrate_meteora_damm_lock_lp_token
accounts: virtual_pool, migration_metadata, pool_authority, pool, lp_mint, lock_escrow, owner, source_tokens, escrow_vault, amm_program, a_vault, b_vault, a_vault_lp, b_vault_lp, a_vault_lp_mint, b_vault_lp_mint, token_program
ix-migration_damm_v2
accounts: virtual_pool, migration_metadata, config, pool_authority, pool, first_position_nft_mint, first_position_nft_account, first_position, second_position_nft_mint, second_position_nft_account, second_position, damm_pool_authority, amm_program, base_mint, quote_mint, token_a_vault, token_b_vault, base_vault, quote_vault, payer, token_base_program, token_quote_program, token_2022_program, damm_event_authority, system_program
ix-migration_damm_v2_create_metadata
accounts: virtual_pool, config, migration_metadata, payer, system_program, event_authority, program
ix-migration_meteora_damm_create_metadata
accounts: virtual_pool, config, migration_metadata, payer, system_program, event_authority, program
ix-partner_withdraw_surplus
accounts: pool_authority, config, virtual_pool, token_quote_account, quote_vault, quote_mint, fee_claimer, token_quote_program, event_authority, program
ix-swap
accounts: pool_authority, config, pool, input_token_account, output_token_account, base_vault, quote_vault, base_mint, quote_mint, payer, token_base_program, token_quote_program, referral_token_account, event_authority, program
args: params JSON string
ix-swap2
accounts: pool_authority, config, pool, input_token_account, output_token_account, base_vault, quote_vault, base_mint, quote_mint, payer, token_base_program, token_quote_program, referral_token_account, event_authority, program
args: params JSON string
ix-swap2_with_transfer_hook
accounts: pool_authority, config, pool, input_token_account, output_token_account, base_vault, quote_vault, base_mint, quote_mint, payer, token_base_program, token_quote_program, referral_token_account, event_authority, program
args: params JSON string, transfer_hook_accounts_info JSON string
ix-transfer_pool_creator
accounts: virtual_pool, config, creator, new_creator, event_authority, program
ix-withdraw_leftover
accounts: pool_authority, config, virtual_pool, token_base_account, base_vault, base_mint, leftover_receiver, token_base_program, event_authority, program
ix-withdraw_migration_fee
accounts: pool_authority, config, virtual_pool, token_quote_account, quote_vault, quote_mint, sender, token_quote_program, event_authority, program
args: flag u8

Files are split at 2 GB: ix-<name>-tNN-SSSS.parquet. Large integers stay exact: u128 is a decimal string. All decoded types.

Get Meteora Dynamic Bonding Curve data for your range.

Select an epoch range and get a firm price. You pay only when you send the job.

Get a price