InstructionLIVE

Orca Whirlpool TwoHopSwapV2

Real-time decoded data for the TwoHopSwapV2 instruction on the Orca Whirlpool program. Every time this instruction is executed on Solana, you receive the full decoded payload with 25 accounts and 8 arguments in under 50ms.

Topicsolana.orca_whirlpool.two_hop_swap_v2
25accounts
1signers
16writable
8arguments

Accounts

Decoded account addresses included in every TwoHopSwapV2 message.

NameTypeSignerWritable
whirlpool_onePublicKey-yes
whirlpool_twoPublicKey-yes
token_mint_inputPublicKey--
token_mint_intermediatePublicKey--
token_mint_outputPublicKey--
token_program_inputPublicKey--
token_program_intermediatePublicKey--
token_program_outputPublicKey--
token_owner_account_inputPublicKey-yes
token_vault_one_inputPublicKey-yes
token_vault_one_intermediatePublicKey-yes
token_vault_two_intermediatePublicKey-yes
token_vault_two_outputPublicKey-yes
token_owner_account_outputPublicKey-yes
token_authorityPublicKeyyes-
tick_array_one0PublicKey-yes
tick_array_one1PublicKey-yes
tick_array_one2PublicKey-yes
tick_array_two0PublicKey-yes
tick_array_two1PublicKey-yes
tick_array_two2PublicKey-yes
oracle_onePublicKey-yes
oracle_twoPublicKey-yes
memo_programPublicKey--
whirlpool_programPublicKey--

Arguments

Decoded instruction arguments included in every TwoHopSwapV2 message.

NameType
amountu64
other_amount_thresholdu64
amount_specified_is_inputbool
a_to_b_onebool
a_to_b_twobool
sqrt_price_limit_oneu128
sqrt_price_limit_twou128
remaining_accounts_infoOption<struct { slices: Vec<struct { accounts_type: enum(transferHookA, transferHookB, transferHookReward, transferHookInput, transferHookIntermediate, transferHookOutput, supplementalTickArrays, supplementalTickArraysOne, ...), length: u8 }> }>

Subscribe to TwoHopSwapV2

Connect and start receiving decoded data in seconds.

grpcurl -plaintext \
  -H 'x-eventstream-policy: {"version":1,"allowed_programs":"all","allowed_topics":"all"}' \
  -d '{"topic":"solana.orca_whirlpool.two_hop_swap_v2","format":"JSON"}' \
  events.nln.clr3.org:443 \
  nln.stream.v1.StreamService/Subscribe

The solana.orca_whirlpool.two_hop_swap_v2 stream delivers decoded TwoHopSwapV2 instruction data from the Orca Whirlpool program (whirLbMiicVd...) on Solana. Each message includes 25 decoded account addresses and 8 typed arguments, delivered in under 50 milliseconds from on-chain confirmation. Available in both JSON and Protobuf formats via the NoLimitNodes gRPC streaming API.

Stream Orca Whirlpool TwoHopSwapV2 data now

Get your API key and start receiving decoded instructions in seconds.