Skip to main content

TypeScript shape

interface CreateWebhooksOutput {
  priceWebhooks: Webhook[];
  tokenPairEventWebhooks: Webhook[];
  rawTransactionWebhooks: Webhook[];
  marketCapWebhooks: Webhook[];
  tokenPriceEventWebhooks: Webhook[];
  tokenTransferEventWebhooks: Webhook[];
  predictionTradeWebhooks: Webhook[];
  predictionMarketMetricsEventWebhooks: Webhook[];
}
Returned by createWebhooks. Each list contains the freshly created webhooks of that category — empty if the corresponding *Input was omitted.
priceWebhooks
[Webhook]!
Reserved for the legacy PRICE_EVENT shape. Always empty on this surface — Mobula’s createWebhooks does not expose PRICE_EVENT. See Webhook.
tokenPairEventWebhooks
[Webhook]!
Created TOKEN_PAIR_EVENT webhooks. See Webhook.
marketCapWebhooks
[Webhook]!
Created MARKET_CAP_EVENT webhooks. See Webhook.
tokenPriceEventWebhooks
[Webhook]!
Created TOKEN_PRICE_EVENT webhooks. See Webhook.
tokenTransferEventWebhooks
[Webhook]!
Created TOKEN_TRANSFER_EVENT webhooks. See Webhook.