Real-time decoded data for the SwapEvent event on the OKX DEX program. Every time this event is emitted on Solana, you receive 3 decoded fields in under 50ms.
solana.okx_okx.swap_eventDecoded fields included in every SwapEvent event message.
| Field | Type |
|---|---|
| dex | enum(splTokenSwap, stableSwap, whirlpool, meteoraDynamicpool, raydiumSwap, raydiumStableSwap, raydiumClmmSwap, aldrinExchangeV1, ...) |
| amount_in | u64 |
| amount_out | 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_event","format":"JSON"}' \
events.nln.clr3.org:443 \
nln.stream.v1.StreamService/SubscribeThe solana.okx_okx.swap_event stream delivers decoded SwapEvent event data from the OKX DEX program (6m2CDdhRgxpH...) on Solana. Each message includes 3 decoded event fields, 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 events in seconds.