Documentation Index Fetch the complete documentation index at: https://docs.codex.io/llms.txt
Use this file to discover all available pages before exploring further.
tokenPairEventWebhooksInput
CreateTokenPairEventWebhooksInput
Input for creating token pair event webhooks.
See CreateTokenPairEventWebhooksInput webhooks
[CreateTokenPairEventWebhookArgs!]!
required
A list of token pair event webhooks to create.
See CreateTokenPairEventWebhookArgs 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 AlertRecurrence conditions
TokenPairEventWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See TokenPairEventWebhookConditionInput networkId
OneOfNumberConditionInput
maker
StringEqualsConditionInput
pairAddress
StringEqualsConditionInput
exchangeAddress
StringEqualsConditionInput
tokenAddress
StringEqualsConditionInput
eventType
TokenPairEventTypeConditionInput
The settings for retrying failed webhook messages.
See RetrySettingsInput 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 bucket ID for the webhook.
The bucket sort key for the webhook.
The type of publishing for the webhook. If not set, it defaults to SINGLE.
See PublishingType 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.
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
Deprecated. Use bucketKey.bucketId instead. Existing webhooks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketId instead.
Deprecated. Use bucketKey.bucketSortKey instead. Existing webhooks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketSortKey instead.
rawTransactionWebhooksInput
CreateRawTransactionWebhooksInput
Input for creating raw transaction webhooks.
See CreateRawTransactionWebhooksInput webhooks
[CreateRawTransactionWebhookArgs!]!
required
A list of Raw Transaction webhooks to create.
See CreateRawTransactionWebhookArgs 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 AlertRecurrence conditions
RawTransactionWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See RawTransactionWebhookConditionInput networkId
OneOfNumberConditionInput
to
StringEqualsConditionInput
from
StringEqualsConditionInput
toOrFrom
StringEqualsConditionInput
input
StringContainsConditionInput
Trigger the webhook if the input contains or doesn’t contain the specified string.
See StringContainsConditionInput A list of substrings to be included within the string.
A list of substrings not to be included within the string.
Do not trigger the webhook if the raw transaction is handled by the TokenPairEvent webhook.
The settings for retrying failed webhook messages.
See RetrySettingsInput 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 bucket ID for the webhook.
The bucket sort key for the webhook.
The type of publishing for the webhook. If not set, it defaults to SINGLE.
See PublishingType 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.
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
Deprecated. Use bucketKey.bucketId instead. Existing webhooks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketId instead.
Deprecated. Use bucketKey.bucketSortKey instead. Existing webhooks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketSortKey instead.
marketCapWebhooksInput
CreateMarketCapWebhooksInput
Input for creating market cap webhooks.
See CreateMarketCapWebhooksInput webhooks
[CreateMarketCapWebhookArgs!]!
required
A list of market cap webhooks to create.
See CreateMarketCapWebhookArgs 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 AlertRecurrence conditions
MarketCapEventWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See MarketCapEventWebhookConditionInput tokenAddress
StringEqualsConditionInput!
required
networkId
IntEqualsConditionInput!
required
pairAddress
StringEqualsConditionInput
The settings for retrying failed webhook messages.
See RetrySettingsInput 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 bucket ID for the webhook.
The bucket sort key for the webhook.
The type of publishing for the webhook. If not set, it defaults to SINGLE.
See PublishingType 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.
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
Deprecated. Use bucketKey.bucketId instead. Existing webhooks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketId instead.
Deprecated. Use bucketKey.bucketSortKey instead. Existing webhooks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketSortKey instead.
tokenPriceEventWebhooksInput
CreateTokenPriceEventWebhooksInput
Input for creating token price event webhooks.
See CreateTokenPriceEventWebhooksInput webhooks
[CreateTokenPriceEventWebhookArgs!]!
required
A list of token price event webhooks to create.
See CreateTokenPriceEventWebhookArgs 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 AlertRecurrence conditions
TokenPriceEventWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See TokenPriceEventWebhookConditionInput address
StringEqualsConditionInput!
required
networkId
IntEqualsConditionInput!
required
priceUsd
ComparisonOperatorInput!
required
The settings for retrying failed webhook messages.
See RetrySettingsInput 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 bucket ID for the webhook.
The bucket sort key for the webhook.
The type of publishing for the webhook. If not set, it defaults to SINGLE.
See PublishingType 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.
Deprecated. Use bucketKey.bucketId instead. Existing webhooks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketId instead.
Deprecated. Use bucketKey.bucketSortKey instead. Existing webhooks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketSortKey instead.
tokenTransferEventWebhooksInput
CreateTokenTransferEventWebhooksInput
Input for creating token transfer event webhooks.
See CreateTokenTransferEventWebhooksInput webhooks
[CreateTokenTransferEventWebhookArgs!]!
required
A list of token transfer event webhooks to create.
See CreateTokenTransferEventWebhookArgs 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 AlertRecurrence conditions
TokenTransferEventWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See TokenTransferEventWebhookConditionInput tokenAddress
StringEqualsConditionInput
networkId
OneOfNumberConditionInput
address
StringEqualsConditionInput
direction
OneOfTokenTransferDirectionConditionInput
The settings for retrying failed webhook messages.
See RetrySettingsInput 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 bucket ID for the webhook.
The bucket sort key for the webhook.
The type of publishing for the webhook. If not set, it defaults to SINGLE.
See PublishingType 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.
Deprecated. Use bucketKey.bucketId instead. Existing webhofoks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketId instead.
Deprecated. Use bucketKey.bucketSortKey instead. Existing webhooks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketSortKey instead.
predictionTradeWebhooksInput
CreatePredictionTradeWebhooksInput
Input for creating prediction trade webhooks.
See CreatePredictionTradeWebhooksInput webhooks
[CreatePredictionTradeWebhookArgs!]!
required
A list of prediction trade webhooks to create.
See CreatePredictionTradeWebhookArgs 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 AlertRecurrence conditions
PredictionTradeWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See PredictionTradeWebhookConditionInput traderId
StringEqualsConditionInput
marketId
StringEqualsConditionInput
eventId
StringEqualsConditionInput
eventType
PredictionTradeEventTypeConditionInput
The settings for retrying failed webhook messages.
See RetrySettingsInput 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 bucket ID for the webhook.
The bucket sort key for the webhook.
predictionMarketMetricsEventWebhooksInput
CreatePredictionMarketMetricsEventWebhooksInput
Input for creating prediction market metrics event webhooks.
See CreatePredictionMarketMetricsEventWebhooksInput webhooks
[CreatePredictionMarketMetricsEventWebhookArgs!]!
required
A list of prediction market metrics event webhooks to create.
See CreatePredictionMarketMetricsEventWebhookArgs 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 AlertRecurrence conditions
PredictionMarketMetricsEventWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See PredictionMarketMetricsEventWebhookConditionInput marketId
StringEqualsConditionInput!
required
market
PredictionMarketMetricsEventMarketConditionInput
Conditions evaluated against market-level aggregate stats. ANDed with other clauses when also present.
See PredictionMarketMetricsEventMarketConditionInput min5
WindowedPredictionMarketMetricsEventMarketConditionInput
hour1
WindowedPredictionMarketMetricsEventMarketConditionInput
hour4
WindowedPredictionMarketMetricsEventMarketConditionInput
hour12
WindowedPredictionMarketMetricsEventMarketConditionInput
day1
WindowedPredictionMarketMetricsEventMarketConditionInput
week1
WindowedPredictionMarketMetricsEventMarketConditionInput
outcome0
PredictionMarketMetricsEventOutcomeConditionInput
Conditions evaluated against outcome 0’s stats. ANDed with outcome1 and anyOutcome when also present.
See PredictionMarketMetricsEventOutcomeConditionInput min5
WindowedPredictionMarketMetricsEventOutcomeConditionInput
hour1
WindowedPredictionMarketMetricsEventOutcomeConditionInput
hour4
WindowedPredictionMarketMetricsEventOutcomeConditionInput
hour12
WindowedPredictionMarketMetricsEventOutcomeConditionInput
day1
WindowedPredictionMarketMetricsEventOutcomeConditionInput
week1
WindowedPredictionMarketMetricsEventOutcomeConditionInput
outcome1
PredictionMarketMetricsEventOutcomeConditionInput
Conditions evaluated against outcome 1’s stats. ANDed with outcome0 and anyOutcome when also present.
See PredictionMarketMetricsEventOutcomeConditionInput min5
WindowedPredictionMarketMetricsEventOutcomeConditionInput
hour1
WindowedPredictionMarketMetricsEventOutcomeConditionInput
hour4
WindowedPredictionMarketMetricsEventOutcomeConditionInput
hour12
WindowedPredictionMarketMetricsEventOutcomeConditionInput
day1
WindowedPredictionMarketMetricsEventOutcomeConditionInput
week1
WindowedPredictionMarketMetricsEventOutcomeConditionInput
anyOutcome
PredictionMarketMetricsEventOutcomeConditionInput
Conditions evaluated against both outcomes; matches if at least one outcome satisfies. ANDed with outcome0 and outcome1 when also present.
See PredictionMarketMetricsEventOutcomeConditionInput min5
WindowedPredictionMarketMetricsEventOutcomeConditionInput
hour1
WindowedPredictionMarketMetricsEventOutcomeConditionInput
hour4
WindowedPredictionMarketMetricsEventOutcomeConditionInput
hour12
WindowedPredictionMarketMetricsEventOutcomeConditionInput
day1
WindowedPredictionMarketMetricsEventOutcomeConditionInput
week1
WindowedPredictionMarketMetricsEventOutcomeConditionInput
The settings for retrying failed webhook messages.
See RetrySettingsInput 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 bucket ID for the webhook.
The bucket sort key for the webhook.
The type of publishing for the webhook. If not set, it defaults to SINGLE.
See PublishingType 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.
priceWebhooksInput
CreatePriceWebhooksInput
deprecated
Input for creating price webhooks.
See CreatePriceWebhooksInput This field is deprecated. Use tokenPriceEventWebhooksInput instead.
webhooks
[CreatePriceWebhookArgs!]!
required
A list of price webhooks to create.
See CreatePriceWebhookArgs 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 AlertRecurrence conditions
PriceEventWebhookConditionInput!
required
The conditions which must be met in order for the webhook to send a message.
See PriceEventWebhookConditionInput tokenAddress
StringEqualsConditionInput!
required
networkId
IntEqualsConditionInput!
required
priceUsd
ComparisonOperatorInput!
required
pairAddress
StringEqualsConditionInput
The settings for retrying failed webhook messages.
See RetrySettingsInput 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 bucket ID for the webhook.
The bucket sort key for the webhook.
The type of publishing for the webhook. If not set, it defaults to SINGLE.
See PublishingType 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.
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
Deprecated. Use bucketKey.bucketId instead. Existing webhooks created with bucketId and bucketSortkey will continue to work. This field is deprecated. Use bucketKey.bucketId instead.
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.