home/program-streams/openbook_v2/cancel_all_and_place_orders
InstructionLIVE

OpenBook V2 CancelAllAndPlaceOrders

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.

Topicsolana.openbook_v2.cancel_all_and_place_orders
14accounts
2signers
9writable
4arguments

Accounts

Decoded account addresses included in every CancelAllAndPlaceOrders message.

NameTypeSignerWritable
signerPublicKeyyes-
open_orders_accountPublicKey-yes
open_orders_adminPublicKeyyes-
user_quote_accountPublicKey-yes
user_base_accountPublicKey-yes
marketPublicKey-yes
bidsPublicKey-yes
asksPublicKey-yes
event_heapPublicKey-yes
market_quote_vaultPublicKey-yes
market_base_vaultPublicKey-yes
oracle_aPublicKey--
oracle_bPublicKey--
token_programPublicKey--

Arguments

Decoded instruction arguments included in every CancelAllAndPlaceOrders message.

NameType
orders_typeenum(limit, immediateOrCancel, postOnly, market, postOnlySlide)
bidsVec<struct { price_lots: i64, max_quote_lots_including_fees: i64, expiry_timestamp: u64 }>
asksVec<struct { price_lots: i64, max_quote_lots_including_fees: i64, expiry_timestamp: u64 }>
limitu8

Subscribe to CancelAllAndPlaceOrders

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/Subscribe

The 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.

Stream OpenBook V2 CancelAllAndPlaceOrders data now

Get your API key and start receiving decoded instructions in seconds.