home/program-streams/okx_okx/swap_v3_with_cpi_event
InstructionLIVE

OKX DEX SwapV3WithCpiEvent

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

Topicsolana.okx_okx.swap_v3_with_cpi_event
16accounts
1signers
8writable
4arguments

Accounts

Decoded account addresses included in every SwapV3WithCpiEvent message.

NameTypeSignerWritable
payerPublicKeyyesyes
source_token_accountPublicKey-yes
destination_token_accountPublicKey-yes
source_mintPublicKey--
destination_mintPublicKey--
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 SwapV3WithCpiEvent message.

NameType
argsstruct { amount_in: u64, expect_amount_out: u64, min_return: u64, amounts: Vec<u64>, routes: Vec<Vec<struct { dexes: Vec<enum(splTokenSwap, stableSwap, whirlpool, meteoraDynamicpool, raydiumSwap, raydiumStableSwap, raydiumClmmSwap, aldrinExchangeV1, ...)>, weights: bytes }>> }
commission_infou32
platform_fee_rateu16
order_idu64

Subscribe to SwapV3WithCpiEvent

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

The solana.okx_okx.swap_v3_with_cpi_event stream delivers decoded SwapV3WithCpiEvent instruction data from the OKX DEX program (6m2CDdhRgxpH...) on Solana. Each message includes 16 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 SwapV3WithCpiEvent data now

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