InstructionLIVE

Orca Whirlpool TwoHopSwap

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

Topicsolana.orca_whirlpool.two_hop_swap
21accounts
1signers
16writable
7arguments

Accounts

Decoded account addresses included in every TwoHopSwap message.

NameTypeSignerWritable
token_programPublicKey--
token_authorityPublicKeyyes-
whirlpool_onePublicKey-yes
whirlpool_twoPublicKey-yes
token_owner_account_one_aPublicKey-yes
token_vault_one_aPublicKey-yes
token_owner_account_one_bPublicKey-yes
token_vault_one_bPublicKey-yes
token_owner_account_two_aPublicKey-yes
token_vault_two_aPublicKey-yes
token_owner_account_two_bPublicKey-yes
token_vault_two_bPublicKey-yes
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--
oracle_twoPublicKey--
whirlpool_programPublicKey--

Arguments

Decoded instruction arguments included in every TwoHopSwap 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

Subscribe to TwoHopSwap

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","format":"JSON"}' \
  events.nln.clr3.org:443 \
  nln.stream.v1.StreamService/Subscribe

The solana.orca_whirlpool.two_hop_swap stream delivers decoded TwoHopSwap instruction data from the Orca Whirlpool program (whirLbMiicVd...) on Solana. Each message includes 21 decoded account addresses and 7 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 TwoHopSwap data now

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