Real-time decoded data for the SwapTobV3 instruction on the OKX DEX program. Every time this instruction is executed on Solana, you receive the full decoded payload with 14 accounts and 5 arguments in under 50ms.
solana.okx_okx.swap_tob_v3Decoded account addresses included in every SwapTobV3 message.
| Name | Type | Signer | Writable |
|---|---|---|---|
| payer | PublicKey | yes | yes |
| source_token_account | PublicKey | - | yes |
| destination_token_account | PublicKey | - | yes |
| source_mint | PublicKey | - | - |
| destination_mint | PublicKey | - | - |
| commission_account | PublicKey | - | yes |
| platform_fee_account | PublicKey | - | yes |
| sa_authority | PublicKey | - | yes |
| source_token_sa | PublicKey | - | yes |
| destination_token_sa | PublicKey | - | yes |
| source_token_program | PublicKey | - | - |
| destination_token_program | PublicKey | - | - |
| associated_token_program | PublicKey | - | - |
| system_program | PublicKey | - | - |
Decoded instruction arguments included in every SwapTobV3 message.
| Name | Type |
|---|---|
| args | struct { 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_info | u32 |
| trim_rate | u8 |
| platform_fee_rate | u16 |
| order_id | u64 |
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_tob_v3","format":"JSON"}' \
events.nln.clr3.org:443 \
nln.stream.v1.StreamService/SubscribeThe solana.okx_okx.swap_tob_v3 stream delivers decoded SwapTobV3 instruction data from the OKX DEX program (6m2CDdhRgxpH...) on Solana. Each message includes 14 decoded account addresses and 5 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.