[CreatePredictionTradeWebhookArgs!]!
required
A list of prediction trade webhooks to create.
See CreatePredictionTradeWebhookArgs
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 AlertRecurrencePredictionTradeWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See PredictionTradeWebhookConditionInput
Show Properties
Show Properties
StringEqualsConditionInput
The trader ID to listen for.
See StringEqualsConditionInput
StringEqualsConditionInput
The market ID to listen for.
See StringEqualsConditionInput
StringEqualsConditionInput
The event ID to listen for.
See StringEqualsConditionInput
PredictionTradeEventTypeConditionInput
The trade event types to listen for.
See PredictionTradeEventTypeConditionInput
ComparisonOperatorInput
The trade value in USD condition.
See ComparisonOperatorInput
ComparisonOperatorInput
The amount of tokens/shares traded condition.
See ComparisonOperatorInput
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
Used By
Used as input by- createWebhooks: Create event webhooks for price, token/pair, transfer, market cap, and prediction market trades.