Real-time decoded data for the CancelAllAndPlaceOrders instruction on the OpenBook V2 program. Every time this instruction is executed on Solana, you receive the full decoded payload with 14 accounts and 4 arguments in under 50ms.
solana.openbook_v2.cancel_all_and_place_ordersDecoded account addresses included in every CancelAllAndPlaceOrders message.
| Name | Type | Signer | Writable |
|---|---|---|---|
| signer | PublicKey | yes | - |
| open_orders_account | PublicKey | - | yes |
| open_orders_admin | PublicKey | yes | - |
| user_quote_account | PublicKey | - | yes |
| user_base_account | PublicKey | - | yes |
| market | PublicKey | - | yes |
| bids | PublicKey | - | yes |
| asks | PublicKey | - | yes |
| event_heap | PublicKey | - | yes |
| market_quote_vault | PublicKey | - | yes |
| market_base_vault | PublicKey | - | yes |
| oracle_a | PublicKey | - | - |
| oracle_b | PublicKey | - | - |
| token_program | PublicKey | - | - |
Decoded instruction arguments included in every CancelAllAndPlaceOrders message.
| Name | Type |
|---|---|
| orders_type | enum(limit, immediateOrCancel, postOnly, market, postOnlySlide) |
| bids | Vec<struct { price_lots: i64, max_quote_lots_including_fees: i64, expiry_timestamp: u64 }> |
| asks | Vec<struct { price_lots: i64, max_quote_lots_including_fees: i64, expiry_timestamp: u64 }> |
| limit | u8 |
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.openbook_v2.cancel_all_and_place_orders","format":"JSON"}' \
events.nln.clr3.org:443 \
nln.stream.v1.StreamService/Subscribesolana.openbook_v2.create_marketsolana.openbook_v2.close_marketsolana.openbook_v2.create_open_orders_indexersolana.openbook_v2.close_open_orders_indexersolana.openbook_v2.create_open_orders_accountsolana.openbook_v2.close_open_orders_accountThe solana.openbook_v2.cancel_all_and_place_orders stream delivers decoded CancelAllAndPlaceOrders instruction data from the OpenBook V2 program (opnb2LAfJYbR...) on Solana. Each message includes 14 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.