Real-time decoded data for the SwapTobWithReceiverTokenLedger instruction on the OKX DEX V3 program. Every time this instruction is executed on Solana, you receive the full decoded payload with 18 accounts and 4 arguments in real time.
solana.okx_okx_v3.swap_tob_with_receiver_token_ledgerDecoded account addresses included in every SwapTobWithReceiverTokenLedger 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 | - | - |
| sol_receiver | PublicKey | - | yes |
| token_ledger | PublicKey | - | - |
| event_authority | PublicKey | - | - |
| program | PublicKey | - | - |
Decoded instruction arguments included in every SwapTobWithReceiverTokenLedger message.
| Name | Type |
|---|---|
| args | struct { order_id: u64, expect_amount_out: u64, slippage: u16, routes: Vec<struct { dex: enum(splTokenSwap, stableSwap, whirlpool, meteoraDynamicpool, raydiumSwap, raydiumStableSwap, raydiumClmmSwap, aldrinExchangeV1, ...), weight: u16, index: u8 }> } |
| commission_info | u32 |
| platform_fee_rate | u16 |
| trim_rate | u8 |
Connect and start receiving decoded data in seconds.
grpcurl \
-H 'x-api-key: YOUR_API_KEY' \
-import-path . \
-proto program-streams.proto \
-d '{"topic":"solana.okx_okx_v3.swap_tob_with_receiver_token_ledger","format":"JSON"}' \
events.mainnet.solana.nolimitnodes.com:443 \
nln.stream.v1.StreamService/Subscribesolana.okx_okx_v3.claimsolana.okx_okx_v3.claim_cashback_pumpfunsolana.okx_okx_v3.claim_cashback_pumpswapsolana.okx_okx_v3.create_token_accountsolana.okx_okx_v3.create_token_account_with_seedsolana.okx_okx_v3.init_token_ledgerThe solana.okx_okx_v3.swap_tob_with_receiver_token_ledger stream delivers decoded SwapTobWithReceiverTokenLedger instruction data from the OKX DEX V3 program (proVF4pMXVaY...) on Solana. Each message includes 18 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.
Get your API key and start receiving decoded instructions in seconds.