Real-time decoded data for the Swap instruction on the BonkSwap program. Every time this instruction is executed on Solana, you receive the full decoded payload with 17 accounts and 3 arguments in under 50ms.
solana.bonkswap_bonkswap.swapDecoded account addresses included in every Swap message.
| Name | Type | Signer | Writable |
|---|---|---|---|
| state | PublicKey | - | - |
| pool | PublicKey | - | yes |
| token_x | PublicKey | - | - |
| token_y | PublicKey | - | - |
| pool_x_account | PublicKey | - | yes |
| pool_y_account | PublicKey | - | yes |
| swapper_x_account | PublicKey | - | yes |
| swapper_y_account | PublicKey | - | yes |
| swapper | PublicKey | yes | yes |
| referrer_x_account | PublicKey | - | yes |
| referrer_y_account | PublicKey | - | yes |
| referrer | PublicKey | - | yes |
| program_authority | PublicKey | - | - |
| system_program | PublicKey | - | - |
| token_program | PublicKey | - | - |
| associated_token_program | PublicKey | - | - |
| rent | PublicKey | - | - |
Decoded instruction arguments included in every Swap message.
| Name | Type |
|---|---|
| delta_in | struct { v: u64 } |
| price_limit | struct { v: u128 } |
| x_to_y | bool |
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.bonkswap_bonkswap.swap","format":"JSON"}' \
events.nln.clr3.org:443 \
nln.stream.v1.StreamService/Subscribesolana.bonkswap_bonkswap.create_poolsolana.bonkswap_bonkswap.create_providersolana.bonkswap_bonkswap.create_statesolana.bonkswap_bonkswap.add_tokenssolana.bonkswap_bonkswap.withdraw_buybacksolana.bonkswap_bonkswap.withdraw_sharesThe solana.bonkswap_bonkswap.swap stream delivers decoded Swap instruction data from the BonkSwap program (BSwp6bEBihVL...) on Solana. Each message includes 17 decoded account addresses and 3 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.