[CreatePriceWebhookArgs!]!
required
A list of price webhooks to create.
See CreatePriceWebhookArgs
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 AlertRecurrencePriceEventWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See PriceEventWebhookConditionInput
Show Properties
Show Properties
StringEqualsConditionInput!
required
The contract address of the token to listen for.
See StringEqualsConditionInput
IntEqualsConditionInput!
required
The network ID to listen on.
See IntEqualsConditionInput
ComparisonOperatorInput!
required
The price conditions to listen for.
See ComparisonOperatorInput
StringEqualsConditionInput
The contract address of the pair to listen for.
See StringEqualsConditionInput
ComparisonOperatorInput
The volume conditions to listen for.
See ComparisonOperatorInput
ComparisonOperatorInput
The liquidity conditions to listen for.
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
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.
String
deprecated
A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook.
This field is deprecated. GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
String
deprecated
Deprecated. Use
bucketKey.bucketId instead. Existing webhooks created with bucketId and bucketSortkey will continue to work.This field is deprecated. Use bucketKey.bucketId instead.
String
deprecated
Deprecated. Use
bucketKey.bucketSortKey instead. Existing webhooks created with bucketId and bucketSortkey will continue to work.This field is deprecated. Use bucketKey.bucketSortKey instead.
Used By
Used as input by- createWebhooks: Create event webhooks for price, token/pair, transfer, market cap, and prediction market trades.