Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mobula.io/llms.txt

Use this file to discover all available pages before exploring further.

WebhookCondition is a GraphQL union — discriminate via __typename to read the right fields. Only the four supported categories are returned by getWebhooks.
TokenPairEventWebhookCondition
object
Pair-level events (swap / mint / burn). See TokenPairEventWebhookCondition.
TokenPriceEventWebhookCondition
object
Token-price threshold events. See TokenPriceEventWebhookCondition.
MarketCapEventWebhookCondition
object
Market-cap threshold events. See MarketCapEventWebhookCondition.
TokenTransferEventWebhookCondition
object
Token-transfer events. See TokenTransferEventWebhookCondition.

Example

conditions {
  __typename
  ... on TokenPairEventWebhookCondition {
    pairAddress { eq }
    eventType { oneOf }
  }
  ... on TokenPriceEventWebhookCondition {
    address { eq }
    priceUsd { gte }
  }
  ... on MarketCapEventWebhookCondition {
    tokenAddress { eq }
    fdvMarketCapUsd { gte }
  }
  ... on TokenTransferEventWebhookCondition {
    address { eq }
    direction { oneOf }
  }
}