A list of prediction market metrics event webhooks to create.
See CreatePredictionMarketMetricsEventWebhookArgs
Show Properties
Show Properties
The name of the webhook (max 128 characters).
The url to which the webhook message should be sent.
A string value to hash along with
deduplicationId using SHA-256. Included in the webhook message for added security.The recurrence of the webhook. Can be
INDEFINITE or ONCE.
See AlertRecurrenceThe conditions which must be met in order for the webhook to send a message.
See PredictionMarketMetricsEventWebhookConditionInput
Show Properties
Show Properties
The market ID to listen for.
See StringEqualsConditionInput
Conditions evaluated against market-level aggregate stats. ANDed with other clauses when also present.
See PredictionMarketMetricsEventMarketConditionInput
Conditions evaluated against outcome 0’s stats. ANDed with outcome1 and anyOutcome when also present.
See PredictionMarketMetricsEventOutcomeConditionInput
Conditions evaluated against outcome 1’s stats. ANDed with outcome0 and anyOutcome when also present.
See PredictionMarketMetricsEventOutcomeConditionInput
Conditions evaluated against both outcomes; matches if at least one outcome satisfies. ANDed with outcome0 and outcome1 when also present.
See PredictionMarketMetricsEventOutcomeConditionInput
The settings for retrying failed webhook messages.
See RetrySettingsInput
Show Properties
Show Properties
The maximum time in seconds that the webhook will retry sending a message
The minimum time in seconds that the webhook will wait before retrying a failed message
The maximum time in seconds that the webhook will wait before retrying a failed message
The maximum number of times the webhook will retry sending a message
An optional bucket key for grouping and querying webhooks. Prefer this over the deprecated flat bucket fields.
See BucketKeyInput
The type of publishing for the webhook. If not set, it defaults to
SINGLE.
See PublishingTypeIf enabled, new webhooks won’t be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook.
Used By
Used as input by- createWebhooks: Create event webhooks for price, token/pair, transfer, market cap, and prediction market trades.