Skip to main content
Version: mainnet (v0.71)

busEvents

Subscribe to event data from the event bus

busEvents(
types: [BusEventType!]!
marketId: ID
partyId: ID
batchSize: Int!
): [BusEvent!]

Arguments

busEvents.types ● [BusEventType!]! non-null enum

The types to subscribe to has to be an array

busEvents.marketId ● ID scalar

Optional filter by market ID

busEvents.partyId ● ID scalar

Optional filter by party ID

busEvents.batchSize ● Int! non-null scalar

Specifies the size that the client will receive events in. Using 0 results in a variable batch size being sent. The stream will be closed if the client fails to read a batch within 5 seconds

Type

BusEvent object