[CreatePredictionMarketMetricsEventWebhookArgs!]!
required
A list of prediction market metrics event webhooks to create.
See CreatePredictionMarketMetricsEventWebhookArgs
Show Properties
Show Properties
String!
required
The name of the webhook (max 128 characters).
String!
required
The url to which the webhook message should be sent.
String!
required
A string value to hash along with
deduplicationId using SHA-256. Included in the webhook message for added security.AlertRecurrence!
required
The recurrence of the webhook. Can be
INDEFINITE or ONCE.
See AlertRecurrencePredictionMarketMetricsEventWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See PredictionMarketMetricsEventWebhookConditionInput
Show Properties
Show Properties
StringEqualsConditionInput!
required
The market ID to listen for.
See StringEqualsConditionInput
PredictionMarketMetricsEventMarketConditionInput
Conditions evaluated against market-level aggregate stats. ANDed with other clauses when also present.
See PredictionMarketMetricsEventMarketConditionInput
PredictionMarketMetricsEventOutcomeConditionInput
Conditions evaluated against outcome 0’s stats. ANDed with outcome1 and anyOutcome when also present.
See PredictionMarketMetricsEventOutcomeConditionInput
PredictionMarketMetricsEventOutcomeConditionInput
Conditions evaluated against outcome 1’s stats. ANDed with outcome0 and anyOutcome when also present.
See PredictionMarketMetricsEventOutcomeConditionInput
PredictionMarketMetricsEventOutcomeConditionInput
Conditions evaluated against both outcomes; matches if at least one outcome satisfies. ANDed with outcome0 and outcome1 when also present.
See PredictionMarketMetricsEventOutcomeConditionInput
RetrySettingsInput
The settings for retrying failed webhook messages.
See RetrySettingsInput
Show Properties
Show Properties
Int
The maximum time in seconds that the webhook will retry sending a message
Int
The minimum time in seconds that the webhook will wait before retrying a failed message
Int
The maximum time in seconds that the webhook will wait before retrying a failed message
Int
The maximum number of times the webhook will retry sending a message
BucketKeyInput
An optional bucket key for grouping and querying webhooks. Prefer this over the deprecated flat bucket fields.
See BucketKeyInput
PublishingType
The type of publishing for the webhook. If not set, it defaults to
SINGLE.
See PublishingTypeBoolean
If 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.