home/program-streams/openbook_v2/consume_given_events
InstructionLIVE

OpenBook V2 ConsumeGivenEvents

Real-time decoded data for the ConsumeGivenEvents instruction on the OpenBook V2 program. Every time this instruction is executed on Solana, you receive the full decoded payload with 3 accounts and 1 arguments in under 50ms.

Topicsolana.openbook_v2.consume_given_events
3accounts
1signers
2writable
1arguments

Accounts

Decoded account addresses included in every ConsumeGivenEvents message.

NameTypeSignerWritable
consume_events_adminPublicKeyyes-
marketPublicKey-yes
event_heapPublicKey-yes

Arguments

Decoded instruction arguments included in every ConsumeGivenEvents message.

NameType
slotsVec<u64>

Subscribe to ConsumeGivenEvents

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.consume_given_events","format":"JSON"}' \
  events.nln.clr3.org:443 \
  nln.stream.v1.StreamService/Subscribe

The solana.openbook_v2.consume_given_events stream delivers decoded ConsumeGivenEvents instruction data from the OpenBook V2 program (opnb2LAfJYbR...) on Solana. Each message includes 3 decoded account addresses and 1 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 ConsumeGivenEvents data now

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