InstructionLIVE

OKX DEX V3 SwapTocV2

Real-time decoded data for the SwapTocV2 instruction on the OKX DEX V3 program. Every time this instruction is executed on Solana, you receive the full decoded payload with 17 accounts and 4 arguments in under 50ms.

Topicsolana.okx_okx_v3.swap_toc_v2
17accounts
1signers
9writable
4arguments

Accounts

Decoded account addresses included in every SwapTocV2 message.

NameTypeSignerWritable
payerPublicKeyyesyes
source_token_accountPublicKey-yes
destination_token_accountPublicKey-yes
source_mintPublicKey--
destination_mintPublicKey--
parent_commission_accountPublicKey-yes
child_commission_accountPublicKey-yes
platform_fee_accountPublicKey-yes
sa_authorityPublicKey-yes
source_token_saPublicKey-yes
destination_token_saPublicKey-yes
source_token_programPublicKey--
destination_token_programPublicKey--
associated_token_programPublicKey--
system_programPublicKey--
event_authorityPublicKey--
programPublicKey--

Arguments

Decoded instruction arguments included in every SwapTocV2 message.

NameType
argsstruct { order_id: u64, amount_in: u64, expect_amount_out: u64, slippage: u16, routes: Vec<struct { dex: enum(splTokenSwap, stableSwap, whirlpool, meteoraDynamicpool, raydiumSwap, raydiumStableSwap, raydiumClmmSwap, aldrinExchangeV1, ...), weight: u16, index: u8 }> }
total_commission_infou32
parent_commission_rateu32
platform_fee_rateu16

Subscribe to SwapTocV2

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

The solana.okx_okx_v3.swap_toc_v2 stream delivers decoded SwapTocV2 instruction data from the OKX DEX V3 program (proVF4pMXVaY...) on Solana. Each message includes 17 decoded account addresses and 4 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 OKX DEX V3 SwapTocV2 data now

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