Real-time decoded data for the SwapV2 instruction on the Orca Whirlpool program. Every time this instruction is executed on Solana, you receive the full decoded payload with 16 accounts and 6 arguments in under 50ms.
solana.orca_whirlpool.swap_v2Decoded account addresses included in every SwapV2 message.
| Name | Type | Signer | Writable |
|---|---|---|---|
| token_program_a | PublicKey | - | - |
| token_program_b | PublicKey | - | - |
| memo_program | PublicKey | - | - |
| token_authority | PublicKey | yes | - |
| whirlpool | PublicKey | - | yes |
| token_mint_a | PublicKey | - | - |
| token_mint_b | PublicKey | - | - |
| token_owner_account_a | PublicKey | - | yes |
| token_vault_a | PublicKey | - | yes |
| token_owner_account_b | PublicKey | - | yes |
| token_vault_b | PublicKey | - | yes |
| tick_array0 | PublicKey | - | yes |
| tick_array1 | PublicKey | - | yes |
| tick_array2 | PublicKey | - | yes |
| oracle | PublicKey | - | yes |
| whirlpool_program | PublicKey | - | - |
Decoded instruction arguments included in every SwapV2 message.
| Name | Type |
|---|---|
| amount | u64 |
| other_amount_threshold | u64 |
| sqrt_price_limit | u128 |
| amount_specified_is_input | bool |
| a_to_b | bool |
| remaining_accounts_info | Option<struct { slices: Vec<struct { accounts_type: enum(transferHookA, transferHookB, transferHookReward, transferHookInput, transferHookIntermediate, transferHookOutput, supplementalTickArrays, supplementalTickArraysOne, ...), length: u8 }> }> |
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.swap_v2","format":"JSON"}' \
events.nln.clr3.org:443 \
nln.stream.v1.StreamService/Subscribesolana.orca_whirlpool.close_bundled_positionsolana.orca_whirlpool.close_positionsolana.orca_whirlpool.close_position_with_token_extensionssolana.orca_whirlpool.collect_feessolana.orca_whirlpool.collect_fees_v2solana.orca_whirlpool.collect_protocol_feesThe solana.orca_whirlpool.swap_v2 stream delivers decoded SwapV2 instruction data from the Orca Whirlpool program (whirLbMiicVd...) on Solana. Each message includes 16 decoded account addresses and 6 typed arguments, delivered in under 50 milliseconds from on-chain confirmation. Available in both JSON and Protobuf formats via the NoLimitNodes gRPC streaming API.
Get your API key and start receiving decoded instructions in seconds.