Aggregator

Jupiter Swap v6 historical data as Parquet

Every Jupiter Swap v6 instruction and event in Solana history, decoded with an Anchor IDL that we checked against real transactions. Trawl gives you 6 event tables and 19 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
JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4
Preset
jupiter-v6
Tables
6 event tables and 19 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":"jupiter-v6","start_epoch":1058,"end_epoch":1058}'

-- then, in DuckDB, on the files of the job
SELECT slot, signature, amm, input_mint, input_amount
FROM 'ev-swap_event-*.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-fee_event
fields: account base58 string, mint base58 string, amount u64
ev-swap_event
fields: amm base58 string, input_mint base58 string, input_amount u64, output_mint base58 string, output_amount u64
ev-swaps_event
fields: swap_events JSON string
ev-candidate_swap_results
fields: results JSON string
ev-candidate_swap_quote_error
fields: candidate_index u64, in_amount u64, error_code u64
ev-best_swap_out_amount_violation
fields: expected_out_amount u64, out_amount u64

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
accounts: wallet, program_authority, system_program
args: id u8
ix-claim_token
accounts: payer, wallet, program_authority, program_token_account, destination_token_account, mint, token_program, associated_token_program, system_program
args: id u8
ix-close_token
accounts: operator, wallet, program_authority, program_token_account, mint, token_program
args: id u8, burn_all bool
ix-withdraw_token_account_excess_lamports
accounts: operator, wallet, program_authority, token_program
args: id u8
ix-create_idempotent_associated_token_account
accounts: payer, associated_token_account, owner, mint, associated_token_program, system_program, token_program, close_authority
ix-create_token_ledger
accounts: token_ledger, payer, system_program
ix-create_token_account
accounts: token_account, user, mint, token_program, system_program
args: bump u8
ix-close_wsol_token_account
accounts: token_account, user, token_program, system_program
ix-exact_out_route
accounts: token_program, user_transfer_authority, user_source_token_account, user_destination_token_account, destination_token_account, source_mint, destination_mint, platform_fee_account, token_2022_program, event_authority, program
args: route_plan JSON string, out_amount u64, quoted_in_amount u64, slippage_bps u16, platform_fee_bps u8
ix-route
accounts: token_program, user_transfer_authority, user_source_token_account, user_destination_token_account, destination_token_account, destination_mint, platform_fee_account, event_authority, program
args: route_plan JSON string, in_amount u64, quoted_out_amount u64, slippage_bps u16, platform_fee_bps u8
ix-route_with_token_ledger
accounts: token_program, user_transfer_authority, user_source_token_account, user_destination_token_account, destination_token_account, destination_mint, platform_fee_account, token_ledger, event_authority, program
args: route_plan JSON string, quoted_out_amount u64, slippage_bps u16, platform_fee_bps u8
ix-set_token_ledger
accounts: token_ledger, token_account
ix-shared_accounts_exact_out_route
accounts: token_program, program_authority, user_transfer_authority, source_token_account, program_source_token_account, program_destination_token_account, destination_token_account, source_mint, destination_mint, platform_fee_account, token_2022_program, event_authority, program
args: id u8, route_plan JSON string, out_amount u64, quoted_in_amount u64, slippage_bps u16, platform_fee_bps u8
ix-shared_accounts_route
accounts: token_program, program_authority, user_transfer_authority, source_token_account, program_source_token_account, program_destination_token_account, destination_token_account, source_mint, destination_mint, platform_fee_account, token_2022_program, event_authority, program
args: id u8, route_plan JSON string, in_amount u64, quoted_out_amount u64, slippage_bps u16, platform_fee_bps u8
ix-shared_accounts_route_with_token_ledger
accounts: token_program, program_authority, user_transfer_authority, source_token_account, program_source_token_account, program_destination_token_account, destination_token_account, source_mint, destination_mint, platform_fee_account, token_2022_program, token_ledger, event_authority, program
args: id u8, route_plan JSON string, quoted_out_amount u64, slippage_bps u16, platform_fee_bps u8
ix-exact_out_route_v2
accounts: user_transfer_authority, user_source_token_account, user_destination_token_account, source_mint, destination_mint, source_token_program, destination_token_program, destination_token_account, event_authority, program
args: out_amount u64, quoted_in_amount u64, slippage_bps u16, platform_fee_bps u16, positive_slippage_bps u16, route_plan JSON string
ix-route_v2
accounts: user_transfer_authority, user_source_token_account, user_destination_token_account, source_mint, destination_mint, source_token_program, destination_token_program, destination_token_account, event_authority, program
args: in_amount u64, quoted_out_amount u64, slippage_bps u16, platform_fee_bps u16, positive_slippage_bps u16, route_plan JSON string
ix-shared_accounts_exact_out_route_v2
accounts: program_authority, user_transfer_authority, source_token_account, program_source_token_account, program_destination_token_account, destination_token_account, source_mint, destination_mint, source_token_program, destination_token_program, event_authority, program
args: id u8, out_amount u64, quoted_in_amount u64, slippage_bps u16, platform_fee_bps u16, positive_slippage_bps u16, route_plan JSON string
ix-shared_accounts_route_v2
accounts: program_authority, user_transfer_authority, source_token_account, program_source_token_account, program_destination_token_account, destination_token_account, source_mint, destination_mint, source_token_program, destination_token_program, event_authority, program
args: id u8, in_amount u64, quoted_out_amount u64, slippage_bps u16, platform_fee_bps u16, positive_slippage_bps u16, route_plan JSON string

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

Get Jupiter Swap v6 data for your range.

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

Get a price