Solana Data APIs
Jupiter Aggregator V6 Data API
Explore decoded instructions, events, and account roles for Jupiter Aggregator V6.
JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4describeProgram
Call describeProgram to get a parsed list of instructions, accounts, and roles for Jupiter Aggregator V6 and 3,600+ Solana programs.
{
"jsonrpc": "2.0",
"id": 1,
"method": "describeProgram",
"params": [
{
"program": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"
}
]
}{
"jsonrpc": "2.0",
"id": 1,
"method": "describeProgram",
"params": [
{
"program": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"
}
]
}Copyable examples
Stream Jupiter Aggregator V6 data
Subscribe using the Jupiter Aggregator V6 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: ["JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"],
instructionNames: ["claim"],
includeFailed: false,
includeCpi: true,
}],
}));
});Runtime vocabulary
Instructions (19)
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 19 instructions
claimExpandCollapse
Arguments
| Name | Type |
|---|---|
| id | u8 |
Accounts
walletWritableprogram_authorityWritablesystem_programRead-only
claim_tokenExpandCollapse
Arguments
| Name | Type |
|---|---|
| id | u8 |
Accounts
payerWritableSignerwalletRead-onlyprogram_authorityRead-onlyprogram_token_accountWritabledestination_token_accountWritablemintRead-onlytoken_programRead-onlyassociated_token_programRead-onlysystem_programRead-only
close_tokenExpandCollapse
Arguments
| Name | Type |
|---|---|
| id | u8 |
| burn_all | bool |
Accounts
operatorRead-onlySignerwalletWritableprogram_authorityRead-onlyprogram_token_accountWritablemintWritabletoken_programRead-only
close_wsol_token_accountExpandCollapse
Arguments
No unambiguous argument schema is available.
Accounts
token_accountWritableuserWritableSignertoken_programRead-onlysystem_programRead-only
create_idempotent_associated_token_accountExpandCollapse
Arguments
No unambiguous argument schema is available.
Accounts
payerWritableSignerassociated_token_accountWritableownerRead-onlySignermintRead-onlyassociated_token_programRead-onlysystem_programRead-onlytoken_programRead-onlyclose_authorityRead-only
create_token_accountExpandCollapse
Arguments
| Name | Type |
|---|---|
| bump | u8 |
Accounts
token_accountWritableuserWritableSignermintRead-onlytoken_programRead-onlysystem_programRead-only
create_token_ledgerExpandCollapse
Arguments
No unambiguous argument schema is available.
Accounts
token_ledgerWritableSignerpayerWritableSignersystem_programRead-only
exact_out_routeExpandCollapse
Arguments
| Name | Type |
|---|---|
| route_plan | RoutePlanStep[] |
| out_amount | u64 |
| quoted_in_amount | u64 |
| slippage_bps | u16 |
| platform_fee_bps | u8 |
Accounts
token_programRead-onlyuser_transfer_authorityRead-onlySigneruser_source_token_accountWritableuser_destination_token_accountWritabledestination_token_accountWritableOptionalsource_mintRead-onlydestination_mintRead-onlyplatform_fee_accountWritableOptionaltoken_2022_programRead-onlyOptionalevent_authorityRead-onlyprogramRead-only
exact_out_route_v2ExpandCollapse
Arguments
| Name | Type |
|---|---|
| out_amount | u64 |
| quoted_in_amount | u64 |
| slippage_bps | u16 |
| platform_fee_bps | u16 |
| positive_slippage_bps | u16 |
| route_plan | RoutePlanStepV2[] |
Accounts
user_transfer_authorityRead-onlySigneruser_source_token_accountWritableuser_destination_token_accountWritablesource_mintRead-onlydestination_mintRead-onlysource_token_programRead-onlydestination_token_programRead-onlydestination_token_accountWritableOptionalevent_authorityRead-onlyprogramRead-only
routeExpandCollapse
Arguments
| Name | Type |
|---|---|
| route_plan | RoutePlanStep[] |
| in_amount | u64 |
| quoted_out_amount | u64 |
| slippage_bps | u16 |
| platform_fee_bps | u8 |
Accounts
token_programRead-onlyuser_transfer_authorityRead-onlySigneruser_source_token_accountWritableuser_destination_token_accountWritabledestination_token_accountWritableOptionaldestination_mintRead-onlyplatform_fee_accountWritableOptionalevent_authorityRead-onlyprogramRead-only
route_v2ExpandCollapse
Arguments
| Name | Type |
|---|---|
| in_amount | u64 |
| quoted_out_amount | u64 |
| slippage_bps | u16 |
| platform_fee_bps | u16 |
| positive_slippage_bps | u16 |
| route_plan | RoutePlanStepV2[] |
Accounts
user_transfer_authorityRead-onlySigneruser_source_token_accountWritableuser_destination_token_accountWritablesource_mintRead-onlydestination_mintRead-onlysource_token_programRead-onlydestination_token_programRead-onlydestination_token_accountWritableOptionalevent_authorityRead-onlyprogramRead-only
route_with_token_ledgerExpandCollapse
Arguments
| Name | Type |
|---|---|
| route_plan | RoutePlanStep[] |
| quoted_out_amount | u64 |
| slippage_bps | u16 |
| platform_fee_bps | u8 |
Accounts
token_programRead-onlyuser_transfer_authorityRead-onlySigneruser_source_token_accountWritableuser_destination_token_accountWritabledestination_token_accountWritableOptionaldestination_mintRead-onlyplatform_fee_accountWritableOptionaltoken_ledgerRead-onlyevent_authorityRead-onlyprogramRead-only
set_token_ledgerExpandCollapse
Arguments
No unambiguous argument schema is available.
Accounts
token_ledgerWritabletoken_accountRead-only
shared_accounts_exact_out_routeExpandCollapse
Arguments
| Name | Type |
|---|---|
| id | u8 |
| route_plan | RoutePlanStep[] |
| out_amount | u64 |
| quoted_in_amount | u64 |
| slippage_bps | u16 |
| platform_fee_bps | u8 |
Accounts
token_programRead-onlyprogram_authorityRead-onlyuser_transfer_authorityRead-onlySignersource_token_accountWritableprogram_source_token_accountWritableprogram_destination_token_accountWritabledestination_token_accountWritablesource_mintRead-onlydestination_mintRead-onlyplatform_fee_accountWritableOptionaltoken_2022_programRead-onlyOptionalevent_authorityRead-onlyprogramRead-only
shared_accounts_exact_out_route_v2ExpandCollapse
Arguments
| Name | Type |
|---|---|
| id | u8 |
| out_amount | u64 |
| quoted_in_amount | u64 |
| slippage_bps | u16 |
| platform_fee_bps | u16 |
| positive_slippage_bps | u16 |
| route_plan | RoutePlanStepV2[] |
Accounts
program_authorityRead-onlyuser_transfer_authorityRead-onlySignersource_token_accountWritableprogram_source_token_accountWritableprogram_destination_token_accountWritabledestination_token_accountWritablesource_mintRead-onlydestination_mintRead-onlysource_token_programRead-onlydestination_token_programRead-onlyevent_authorityRead-onlyprogramRead-only
shared_accounts_routeExpandCollapse
Arguments
| Name | Type |
|---|---|
| id | u8 |
| route_plan | RoutePlanStep[] |
| in_amount | u64 |
| quoted_out_amount | u64 |
| slippage_bps | u16 |
| platform_fee_bps | u8 |
Accounts
token_programRead-onlyprogram_authorityRead-onlyuser_transfer_authorityRead-onlySignersource_token_accountWritableprogram_source_token_accountWritableprogram_destination_token_accountWritabledestination_token_accountWritablesource_mintRead-onlydestination_mintRead-onlyplatform_fee_accountWritableOptionaltoken_2022_programRead-onlyOptionalevent_authorityRead-onlyprogramRead-only
shared_accounts_route_v2ExpandCollapse
Arguments
| Name | Type |
|---|---|
| id | u8 |
| in_amount | u64 |
| quoted_out_amount | u64 |
| slippage_bps | u16 |
| platform_fee_bps | u16 |
| positive_slippage_bps | u16 |
| route_plan | RoutePlanStepV2[] |
Accounts
program_authorityRead-onlyuser_transfer_authorityRead-onlySignersource_token_accountWritableprogram_source_token_accountWritableprogram_destination_token_accountWritabledestination_token_accountWritablesource_mintRead-onlydestination_mintRead-onlysource_token_programRead-onlydestination_token_programRead-onlyevent_authorityRead-onlyprogramRead-only
shared_accounts_route_with_token_ledgerExpandCollapse
Arguments
| Name | Type |
|---|---|
| id | u8 |
| route_plan | RoutePlanStep[] |
| quoted_out_amount | u64 |
| slippage_bps | u16 |
| platform_fee_bps | u8 |
Accounts
token_programRead-onlyprogram_authorityRead-onlyuser_transfer_authorityRead-onlySignersource_token_accountWritableprogram_source_token_accountWritableprogram_destination_token_accountWritabledestination_token_accountWritablesource_mintRead-onlydestination_mintRead-onlyplatform_fee_accountWritableOptionaltoken_2022_programRead-onlyOptionaltoken_ledgerRead-onlyevent_authorityRead-onlyprogramRead-only
withdraw_token_account_excess_lamportsExpandCollapse
Arguments
| Name | Type |
|---|---|
| id | u8 |
Accounts
operatorRead-onlySignerwalletWritableprogram_authorityRead-onlytoken_programRead-only
BestSwapOutAmountViolation2 fields
expected_out_amountu64out_amountu64
CandidateSwapQuoteError3 fields
candidate_indexu64in_amountu64error_codeu64
CandidateSwapResults1 field
resultsCandidateSwapResult[]
FeeEvent3 fields
accountpubkeymintpubkeyamountu64
SwapEvent5 fields
ammpubkeyinput_mintpubkeyinput_amountu64output_mintpubkeyoutput_amountu64
SwapsEvent1 field
swap_eventsSwapEventV2[]
Filter vocabulary
Runtime account roles (30)
Use these exact describeProgram role names when building Parsed Streams account-role filters.
associated_token_accountassociated_token_programclose_authoritydestination_mintdestination_token_accountdestination_token_programevent_authoritymintoperatorownerpayerplatform_fee_accountprogramprogram_authorityprogram_destination_token_accountprogram_source_token_accountprogram_token_accountsource_mintsource_token_accountsource_token_programsystem_programtoken_2022_programtoken_accounttoken_ledgertoken_programuseruser_destination_token_accountuser_source_token_accountuser_transfer_authoritywallet


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


