Skip to main content

PredictMarketDataService Actions

6 actions registered.

NameDeprecated
getEvent
getFeed
getMarketHistory
getVenueCatalog
getVenueStatus
searchEvents

PredictMarketDataService:getEvent​

Source: app/components/UI/PredictNext/services/PredictMarketDataService.ts:67

Handler signature:

(
venueId: PredictVenueId,
eventId: PredictEntityId,
options?: PredictReadOptions,
) => Promise<GetEventResult>

PredictMarketDataService:getFeed​

Source: app/components/UI/PredictNext/services/PredictMarketDataService.ts:56

Handler signature:

(
venueId: PredictVenueId,
feedId: PredictFeedId,
params: FeedParams,
cursor?: string,
options?: PredictReadOptions,
) => Promise<GetFeedResult>

PredictMarketDataService:getMarketHistory​

Source: app/components/UI/PredictNext/services/PredictMarketDataService.ts:76

Handler signature:

(
venueId: PredictVenueId,
marketId: PredictEntityId,
range: PredictMarketHistoryRange,
options?: PredictReadOptions,
) => Promise<GetMarketHistoryResult>

PredictMarketDataService:getVenueCatalog​

Source: app/components/UI/PredictNext/services/PredictMarketDataService.ts:48

Handler signature:

(
venueId: PredictVenueId,
options?: PredictReadOptions,
) => Promise<GetVenueCatalogResult>

PredictMarketDataService:getVenueStatus​

Source: app/components/UI/PredictNext/services/PredictMarketDataService.ts:40

Handler signature:

(
venueId: PredictVenueId,
options?: PredictReadOptions,
) => Promise<GetVenueStatusResult>

PredictMarketDataService:searchEvents​

Source: app/components/UI/PredictNext/services/PredictMarketDataService.ts:86

Handler signature:

(
venueId: PredictVenueId,
params: FetchSearchParams,
options?: PredictReadOptions,
) => Promise<SearchEventsResult>