Configure a rule: scope it by venue, symbol and wallet, add conditions and relative thresholds, set its parameters, and edit it in place.
A rule points one endpoint at one event type and carries your own configuration. The platform declares what each event can be scoped and conditioned on; you choose the values. The model is the one you know from spreadsheet conditional formatting: a range, then rules.
A rule with no filters matches every event of its type. Every venue and symbol the event covers, every watched address for an account.* event, and no conditions, with each parameter at its declared default. On a market-wide event that can be a lot of deliveries, so narrow it here and check the rate with the estimate before you create it.
A first rule
Every Hyperliquid BTC liquidation of $250,000 or more:
The configuration goes in filters (config is accepted as the same key) and has three parts:
Scope keys (venue, symbols, and addresses on account events) choose where the event is watched.
conditions compare the event’s declared metrics with your values, here notional_usd at least 250,000.
params define what an occurrence is, such as a burst’s window. This rule sets none, so max_age_s takes its default.
Every key is checked against the event’s declaration in the catalog. A filter the event does not accept, an undeclared metric or param, an operator that does not fit the metric’s type, an out-of-range value or an unknown enum member is refused with a 400 that names what is allowed. Scope keys, conditions or params sent at the top level of the body, outside filters, are refused too, rather than creating a rule without them.
Scope
venue (string or list of strings): restrict to venues the event covers. Absent means every venue it covers.
symbols (list of strings): restrict to these markets, in venue-native form. Absent means every market.
addresses (list of strings, account.* events only): a subset of your watched addresses. Absent means all of them. Each one must already be on your watched list.
Symbol conventions
Symbols are venue-native. A symbol written in the wrong form matches nothing.
Hyperliquid perps: the bare coin, BTC.
HIP-3: dex prefix and coin, xyz:AAPL. A bare AAPL matches nothing.
Hyperliquid Spot: the dashed pair, HYPE-USDC.
HIP-4 outcome sides: # and the asset id, #20481.
Lighter (lighter): the bare market symbol, BTC.
Lighter on Robinhood Chain (rh-lighter): the bare perp symbol, BTC, or the dashed spot pair with the USDG quote, AAPL-USDG.
account.transfer and market.pga_payment: the token, not a pair, such as USDC or HYPE.
Conditions
Conditions compare a metric the event declares with a value. A rule takes up to 16 conditions, and all of them must hold. No conditions means every occurrence: account.fill with no conditions is every fill of a watched address, and market.liquidation with no conditions is every liquidation on the covered venues from the 100 USD scan floor up.
Text and enumerated values: equal, not_equal, in, not_in, contains, not_contains, starts_with, ends_with.
True or false values: equal, not_equal.
Timestamps: before, after, equal, with RFC 3339 values.
Any type: is_empty, is_not_empty.
Symbol spellings (>=, <, != and the like) are accepted and stored in word form. between and not_between take [low, high]; in and not_in take a non-empty list; is_empty and is_not_empty take no value. A custom-formula operator (formula) is reserved and refused for now; combine conditions instead.min_notional_usd at the top level of filters is shorthand for a notional_usd greater_than_or_equal condition, or usdc_value on account.transfer, the one event whose notional metric has that name. It is refused on events that declare no notional metric.Which metrics an event declares, with their types, units and enum values, is in the catalog: GET /v1/webhooks/event-types returns metrics, operators and params for each event.
Relative values
Four metrics let a threshold mean the same thing on a large market and a small one. They are conditionable like any other metric.
notional_pct_volume_1h and notional_pct_volume_24h: the event’s notional as a percent of that market’s trailing volume. On market.liquidation, account.liquidated, account.fill and market.liquidation_burst.
notional_pct_oi: as a percent of that market’s open interest. On the same events, perps only.
notional_pct_wallet_volume_30d: as a percent of that wallet’s own 30-day volume. On account.fill.
That is “a liquidation worth at least 2 percent of this market’s last hour of volume”, on every market at once. Market references are refreshed every minute and wallet volumes every 10 minutes. A relative value is null, so a condition on it does not fire, when its denominator is under 10,000 USD, which keeps a thin market from producing a huge percentage. notional_pct_oi is null on spot markets, and the volume percentages are null on Lighter on Robinhood Chain. A payload with a relative value carries reference_at, the time the denominator was measured.
Params
Some events are defined by a window or a level, so the value changes what an occurrence is rather than filtering one. This is the full list; defaults are in parentheses.
market.liquidation_burst: window_s one of 60, 300, 900, 3600 (300); threshold_mode one of usd, pct_oi, pct_volume_1h (usd); threshold_usd from 1,000, used in usd mode (1,000,000); threshold_pct 0.01 to 100, used in the two percent modes (1).
market.oi_delta: window_s one of 300, 900, 3600 (900); threshold_pct 0.1 to 1000 (10).
market.breadth_cross: threshold 1 to 99 percent (30); hysteresis_pct 0 to 50 points (5).
oracle.jump: threshold_pct 0.1 to 50 (2).
oracle.stall: window_s one of 60, 120, 300, 900, 3600 (300).
ingest.stall and ingest.recovered: threshold_s one of 60, 120, 300, 600, 1800, 3600 (600). A market is judged against it only when the threshold is at least five times its usual update interval. Lighter books update about once a minute, so on the Lighter venues most markets are judged from 600 seconds and the sparsest only from 1800.
chain.block_stall: threshold_s one of 10, 20, 30, 60, 120, 300, 600 (20).
chain.block_time_degraded: degraded_pct one of 10, 20, 30, 50 (20); consecutive_minutes one of 1, 2, 3, 5 (2).
billing.credit_low: levels_pct, a list of percent-remaining levels, each 0 to 100 ([25, 10, 0]).
market.liquidation, market.pga_payment, hip4.settlement and every account.* event: max_age_s 60 to 86400 (3600, or 7200 for hip4.settlement and account.hip4_settled). See below.
market.liquidation_burst can be written in relative terms: {"params": {"window_s": 60, "threshold_mode": "pct_oi", "threshold_pct": 1}} is “liquidations inside a minute worth one percent of that market’s open interest”, a meaningful threshold on every perp without picking a dollar figure per market. A market without a reference does not fire the percent modes. The default mode is usd, so a rule written before modes existed keeps firing exactly as it did.Omitted params take the declared default. A value outside the range or off the menu is refused with a 400 naming the allowed values. A declared param may also be written at the top level of filters ("threshold_s": 60) and is routed into params; on market.liquidation_burst, a top-level threshold means threshold_usd. Two rules with different params are two different triggers, and their deliveries carry different event ids.
max_age_s and late deliveries
max_age_s is the oldest occurrence you still want delivered, in seconds behind real time. In normal operation it never comes into play. After an outage on our side, the engine catches up as far back as your max_age_s and delivers those occurrences with late_ms set, and with late: true when they are more than 10 minutes behind, instead of dropping them. Anything older is skipped; fetch it from the REST API or an export. Set it low when a stale alert is worse than no alert, such as a trading trigger, and high when completeness matters more, such as an audit trail.
The response echoes the stored configuration, normalized: operators in their word form, addresses lowercased, every declared param present with defaults filled in, and min_notional_usd mirrored from the loosest notional_usd lower bound among your conditions.
PATCH /v1/webhooks/subscriptions/{id} with {"config": {...}} replaces the whole configuration in place, validated exactly like create (filters is accepted as the key too). {"enabled": false} switches delivery off without losing the configuration, and {"enabled": true} switches it back on, so tuning a threshold never means deleting and recreating the rule. The response is the updated rule in the same shape as create.
This raises the fill rule above from 25,000 to 50,000 and keeps everything else. Because the new configuration replaces the old one, send every key you want to keep. A key you leave out returns to its default: without addresses the rule covers every watched address, without the side condition it covers both sides, and without params its max_age_s returns to 3600.enabled is your switch, and it is separate from the engine’s own pause when a rule reaches the plan’s daily allowance. Resuming a paused rule never flips your switch, and switching a rule on never resumes it. See Paused rules. DELETE /v1/webhooks/subscriptions/{id} removes a rule for good.
Next step
Last modified on October 18, 2026
Was this page helpful?
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"0xArchive","description":"Hyperliquid and Lighter market data through the REST API, WebSocket, Webhook Alerts, and Bulk Exports. Start with your first request on the Free plan.","colors":{"primary":"#15803D","light":"#21C55E","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/0xarchive-e895b8e7/_8ck-oUq6ufsot88/logo-light.svg?fit=max\u0026auto=format\u0026n=_8ck-oUq6ufsot88\u0026q=85\u0026s=125ef51299181bd38460b33344f30ff5","dark":"https://mintcdn.com/0xarchive-e895b8e7/_8ck-oUq6ufsot88/logo-dark.svg?fit=max\u0026auto=format\u0026n=_8ck-oUq6ufsot88\u0026q=85\u0026s=829b1f9b3638e20a5c6bc6032ab00025","href":"https://0xarchive.io/?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=logo_home"},"favicon":"https://mintcdn.com/0xarchive-e895b8e7/_8ck-oUq6ufsot88/favicon.svg?fit=max\u0026auto=format\u0026n=_8ck-oUq6ufsot88\u0026q=85\u0026s=df84c8913362b83bdf0443dd4b49a717","api":{"openapi":{"source":"openapi.json","directory":"api-reference"},"params":{"expanded":"all"},"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","go"],"prefill":true,"autogenerate":true},"url":"full"},"appearance":{"default":"dark","strict":false},"navbar":{"links":[{"href":"https://0xarchive.io/pricing?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=navbar_pricing","label":"Pricing"},{"href":"https://0xarchive.io/status?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=navbar_status","label":"Status"},{"href":"https://0xarchive.io/changelog?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=navbar_changelog","label":"Changelog"},{"href":"https://github.com/0xArchiveIO","label":"GitHub"}],"primary":{"type":"button","label":"Dashboard","href":"https://0xarchive.io/dashboard?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=navbar_dashboard"}},"footer":{"socials":{"x":"https://x.com/0xarchiveIo","github":"https://github.com/0xArchiveIO","telegram":"https://t.me/archivedotio","linkedin":"https://www.linkedin.com/company/0xarchive"},"links":[{"header":"Product","items":[{"label":"Pricing","href":"https://0xarchive.io/pricing?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=footer_pricing"},{"label":"Status","href":"https://0xarchive.io/status?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=footer_status"},{"label":"Data Catalog","href":"https://0xarchive.io/data?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=footer_data_catalog"},{"label":"Dashboard","href":"https://0xarchive.io/dashboard?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=footer_dashboard"}]},{"header":"Developers","items":[{"label":"Data rights","href":"/data-rights"},{"label":"AI clients","href":"/ai-clients"},{"label":"Coding agents","href":"/coding-agents"},{"label":"Choose an interface","href":"/tooling"}]},{"header":"Resources","items":[{"label":"Reference","href":"/reference"},{"label":"OpenAPI","href":"/openapi"},{"label":"Free crypto data API","href":"/free-crypto-data-api"},{"label":"Sitemap","href":"/sitemap"},{"label":"llms.txt","href":"/llms.txt"},{"label":"llms-full.txt","href":"/llms-full.txt"},{"label":"Resources","href":"https://0xarchive.io/resources?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=footer_blog"}]},{"header":"Company","items":[{"label":"Home","href":"https://0xarchive.io/?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=footer_home"},{"label":"Contact","href":"https://0xarchive.io/contact?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=footer_contact"},{"label":"Terms","href":"https://0xarchive.io/terms?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=footer_terms"},{"label":"Privacy","href":"https://0xarchive.io/privacy?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs_nav\u0026utm_content=footer_privacy"}]}]},"search":{"prompt":"Search routes, symbols, SDKs, WebSocket replay, and data quality"},"seo":{"metatags":{"canonical":"https://docs.0xarchive.io","og:site_name":"0xArchive Docs","og:type":"website","twitter:card":"summary_large_image","twitter:site":"@0xarchiveIo","google-site-verification":"Hpedp6bedqc3av1195euaGMwyFEVHcJhcyUY9YiMvTY"},"organization":{"id":"https://0xarchive.io/#organization","name":"0xArchive","legalName":"Archive Labs Inc.","url":"https://0xarchive.io/","logo":"https://0xarchive.io/logo-square-1024.png","sameAs":["https://x.com/0xarchiveIo","https://github.com/0xArchiveIO","https://t.me/archivedotio","https://www.linkedin.com/company/0xarchive/"]},"indexing":"all"},"fonts":{"family":"Geist","source":"fonts/geist-variable.woff2","format":"woff2"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":"github-dark"},"latex":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"Open the quickstart, REST reference, or search the docs for the route you need."}},"contextual":{"options":["copy","view","assistant","chatgpt","claude","perplexity","cursor","vscode","windsurf","grok","devin","aistudio"],"display":"header"},"thumbnails":{"background":"https://mintcdn.com/0xarchive-e895b8e7/ZmnWL31Kq8lGIdPW/images/og-background.svg?fit=max\u0026auto=format\u0026n=ZmnWL31Kq8lGIdPW\u0026q=85\u0026s=802efd004c3811d20f873d5f00c5ef32"},"metadata":{"timestamp":true},"markdown":{"schema":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"0xarchive-e895b8e7","hasAudioNarration":false,"actualSubdomain":"0xarchive-e895b8e7","customDomains":["docs.0xarchive.io"],"gitSource":{"type":"github","owner":"0xarchiveio","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b007041516a3bcb360d8dc8","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"REST API","count":505},{"language":"default","tag":"OpenAPI and schemas","count":242},{"language":"default","tag":"Operation schemas","count":237},{"language":"default","tag":"Endpoint reference","count":225},{"language":"default","tag":"HIP-3","count":104},{"language":"default","tag":"Hyperliquid core","count":104},{"language":"default","tag":"Terminal","count":96},{"language":"default","tag":"Lighter","count":60},{"language":"default","tag":"Webhook Alerts","count":53},{"language":"default","tag":"HIP-4","count":52}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"[email protected]","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","href":"/_mintlify/custom/0xarchive-e895b8e7/f5f5f3ca5c5101a6/styles.css"}]}
{"page":{"pagePath":"webhooks/rules","slug":"/webhooks/rules","pageMetadata":{"title":"Alert rules","sidebarTitle":"Rules","description":"Configure a rule: scope it by venue, symbol and wallet, add conditions and relative thresholds, set its parameters, and edit it in place.","href":"/webhooks/rules"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure a rule: scope it by venue, symbol and wallet, add conditions and relative thresholds, set its parameters, and edit it in place.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const TaskCard=({title,description,href,action,secondaryHref,secondaryAction,tracking,facts=[],children})=>{const _components={a:`a`,..._provideComponents()};return _jsx(`div`,{className:`oxa-task-card-shell`,children:_jsxs(`section`,{className:`oxa-task-card`,\"aria-label\":title,children:[_jsxs(`div`,{className:`oxa-task-card__summary`,children:[_jsx(`p`,{className:`oxa-task-card__title`,children:_jsx(`strong`,{children:title})}),description\u0026\u0026_jsx(`p`,{className:`oxa-task-card__description`,children:description})]}),facts.length>0\u0026\u0026_jsx(`dl`,{className:`oxa-task-card__facts`,children:facts.map(({label,value})=>_jsxs(`div`,{className:`oxa-task-card__fact`,children:[_jsx(`dt`,{className:`oxa-task-card__label`,children:label}),_jsx(`dd`,{className:`oxa-task-card__value`,children:value})]},label))}),children\u0026\u0026_jsx(`div`,{className:`oxa-task-card__content`,children}),_jsxs(`div`,{className:`oxa-task-card__actions`,children:[_jsx(_components.a,{className:`oxa-cta oxa-task-card__primary`,href,\"data-oxa-cta\":tracking,children:action}),secondaryHref\u0026\u0026_jsxs(_components.a,{className:`oxa-task-card__secondary`,href:secondaryHref,children:[secondaryAction,_jsx(`span`,{\"aria-hidden\":`true`,children:` →`})]})]})]})})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A rule points one endpoint at one event type and carries your own configuration. The platform declares what each event can be scoped and conditioned on; you choose the values. The model is the one you know from spreadsheet conditional formatting: a range, then rules.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`A rule with no `,_jsx(_components.code,{children:`filters`}),` matches every event of its type.`]}),` Every venue and symbol the event covers, every watched address for an `,_jsx(_components.code,{children:`account.*`}),` event, and no conditions, with each parameter at its declared default. On a market-wide event that can be a lot of deliveries, so narrow it here and check the rate with the `,_jsx(_components.a,{href:`/webhooks/estimate-and-dry-run#estimate`,children:`estimate`}),` before you create it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`a-first-rule`,children:`A first rule`}),`\n`,_jsx(_components.p,{children:`Every Hyperliquid BTC liquidation of $250,000 or more:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark github-dark`,style:{backgroundColor:`#24292e`,\"--shiki-dark-bg\":`#24292e`,color:`#e1e4e8`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B392F0`,\"--shiki-dark\":`#B392F0`},children:`curl`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` -X POST https://api.0xarchive.io/v1/webhooks/subscriptions \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` -H `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"X-API-Key: $OXARCHIVE_API_KEY\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` -H `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"content-type: application/json\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` -d `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"endpoint_id\": \"f4797c46-ada6-4c09-a076-5689a974e4be\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"event_type\": \"market.liquidation\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"filters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"venue\": \"hyperliquid\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"symbols\": [\"BTC\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"conditions\": [{ \"metric\": \"notional_usd\", \"op\": \">=\", \"value\": 250000 }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The configuration goes in `,_jsx(_components.code,{children:`filters`}),` (`,_jsx(_components.code,{children:`config`}),` is accepted as the same key) and has three parts:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Scope keys`}),` (`,_jsx(_components.code,{children:`venue`}),`, `,_jsx(_components.code,{children:`symbols`}),`, and `,_jsx(_components.code,{children:`addresses`}),` on account events) choose where the event is watched.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`conditions`})}),` compare the event’s declared metrics with your values, here `,_jsx(_components.code,{children:`notional_usd`}),` at least 250,000.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`params`})}),` define what an occurrence is, such as a burst’s window. This rule sets none, so `,_jsx(_components.code,{children:`max_age_s`}),` takes its default.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Every key is checked against the event’s declaration in the `,_jsx(_components.a,{href:`/webhooks/events#the-live-catalog`,children:`catalog`}),`. A filter the event does not accept, an undeclared metric or param, an operator that does not fit the metric’s type, an out-of-range value or an unknown enum member is refused with a 400 that names what is allowed. Scope keys, `,_jsx(_components.code,{children:`conditions`}),` or `,_jsx(_components.code,{children:`params`}),` sent at the top level of the body, outside `,_jsx(_components.code,{children:`filters`}),`, are refused too, rather than creating a rule without them.`]}),`\n`,_jsx(Heading,{level:`2`,id:`scope`,children:`Scope`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`venue`}),` (string or list of strings): restrict to venues the event covers. Absent means every venue it covers.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`symbols`}),` (list of strings): restrict to these markets, in venue-native form. Absent means every market.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`addresses`}),` (list of strings, `,_jsx(_components.code,{children:`account.*`}),` events only): a subset of your `,_jsx(_components.a,{href:`/webhooks/watched-addresses`,children:`watched addresses`}),`. Absent means all of them. Each one must already be on your watched list.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`symbol-conventions`,children:`Symbol conventions`}),`\n`,_jsx(_components.p,{children:`Symbols are venue-native. A symbol written in the wrong form matches nothing.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Hyperliquid perps: the bare coin, `,_jsx(_components.code,{children:`BTC`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`HIP-3: dex prefix and coin, `,_jsx(_components.code,{children:`xyz:AAPL`}),`. A bare `,_jsx(_components.code,{children:`AAPL`}),` matches nothing.`]}),`\n`,_jsxs(_components.li,{children:[`Hyperliquid Spot: the dashed pair, `,_jsx(_components.code,{children:`HYPE-USDC`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`HIP-4 outcome sides: `,_jsx(_components.code,{children:`#`}),` and the asset id, `,_jsx(_components.code,{children:`#20481`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Lighter (`,_jsx(_components.code,{children:`lighter`}),`): the bare market symbol, `,_jsx(_components.code,{children:`BTC`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Lighter on Robinhood Chain (`,_jsx(_components.code,{children:`rh-lighter`}),`): the bare perp symbol, `,_jsx(_components.code,{children:`BTC`}),`, or the dashed spot pair with the USDG quote, `,_jsx(_components.code,{children:`AAPL-USDG`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`account.transfer`}),` and `,_jsx(_components.code,{children:`market.pga_payment`}),`: the token, not a pair, such as `,_jsx(_components.code,{children:`USDC`}),` or `,_jsx(_components.code,{children:`HYPE`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`conditions`,children:`Conditions`}),`\n`,_jsxs(_components.p,{children:[`Conditions compare a metric the event declares with a value. A rule takes up to 16 conditions, and all of them must hold. No conditions means every occurrence: `,_jsx(_components.code,{children:`account.fill`}),` with no conditions is every fill of a watched address, and `,_jsx(_components.code,{children:`market.liquidation`}),` with no conditions is every liquidation on the covered venues from the 100 USD scan floor up.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Numbers: `,_jsx(_components.code,{children:`greater_than`}),`, `,_jsx(_components.code,{children:`greater_than_or_equal`}),`, `,_jsx(_components.code,{children:`less_than`}),`, `,_jsx(_components.code,{children:`less_than_or_equal`}),`, `,_jsx(_components.code,{children:`equal`}),`, `,_jsx(_components.code,{children:`not_equal`}),`, `,_jsx(_components.code,{children:`between`}),`, `,_jsx(_components.code,{children:`not_between`}),`, `,_jsx(_components.code,{children:`in`}),`, `,_jsx(_components.code,{children:`not_in`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Text and enumerated values: `,_jsx(_components.code,{children:`equal`}),`, `,_jsx(_components.code,{children:`not_equal`}),`, `,_jsx(_components.code,{children:`in`}),`, `,_jsx(_components.code,{children:`not_in`}),`, `,_jsx(_components.code,{children:`contains`}),`, `,_jsx(_components.code,{children:`not_contains`}),`, `,_jsx(_components.code,{children:`starts_with`}),`, `,_jsx(_components.code,{children:`ends_with`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`True or false values: `,_jsx(_components.code,{children:`equal`}),`, `,_jsx(_components.code,{children:`not_equal`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Timestamps: `,_jsx(_components.code,{children:`before`}),`, `,_jsx(_components.code,{children:`after`}),`, `,_jsx(_components.code,{children:`equal`}),`, with RFC 3339 values.`]}),`\n`,_jsxs(_components.li,{children:[`Any type: `,_jsx(_components.code,{children:`is_empty`}),`, `,_jsx(_components.code,{children:`is_not_empty`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Symbol spellings (`,_jsx(_components.code,{children:`>=`}),`, `,_jsx(_components.code,{children:`\u003c`}),`, `,_jsx(_components.code,{children:`!=`}),` and the like) are accepted and stored in word form. `,_jsx(_components.code,{children:`between`}),` and `,_jsx(_components.code,{children:`not_between`}),` take `,_jsx(_components.code,{children:`[low, high]`}),`; `,_jsx(_components.code,{children:`in`}),` and `,_jsx(_components.code,{children:`not_in`}),` take a non-empty list; `,_jsx(_components.code,{children:`is_empty`}),` and `,_jsx(_components.code,{children:`is_not_empty`}),` take no value. A custom-formula operator (`,_jsx(_components.code,{children:`formula`}),`) is reserved and refused for now; combine conditions instead.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`min_notional_usd`}),` at the top level of `,_jsx(_components.code,{children:`filters`}),` is shorthand for a `,_jsx(_components.code,{children:`notional_usd greater_than_or_equal`}),` condition, or `,_jsx(_components.code,{children:`usdc_value`}),` on `,_jsx(_components.code,{children:`account.transfer`}),`, the one event whose notional metric has that name. It is refused on events that declare no notional metric.`]}),`\n`,_jsxs(_components.p,{children:[`Which metrics an event declares, with their types, units and enum values, is in the catalog: `,_jsx(_components.code,{children:`GET /v1/webhooks/event-types`}),` returns `,_jsx(_components.code,{children:`metrics`}),`, `,_jsx(_components.code,{children:`operators`}),` and `,_jsx(_components.code,{children:`params`}),` for each event.`]}),`\n`,_jsx(Heading,{level:`3`,id:`relative-values`,children:`Relative values`}),`\n`,_jsx(_components.p,{children:`Four metrics let a threshold mean the same thing on a large market and a small one. They are conditionable like any other metric.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`notional_pct_volume_1h`}),` and `,_jsx(_components.code,{children:`notional_pct_volume_24h`}),`: the event’s notional as a percent of that market’s trailing volume. On `,_jsx(_components.code,{children:`market.liquidation`}),`, `,_jsx(_components.code,{children:`account.liquidated`}),`, `,_jsx(_components.code,{children:`account.fill`}),` and `,_jsx(_components.code,{children:`market.liquidation_burst`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`notional_pct_oi`}),`: as a percent of that market’s open interest. On the same events, perps only.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`notional_pct_wallet_volume_30d`}),`: as a percent of that wallet’s own 30-day volume. On `,_jsx(_components.code,{children:`account.fill`}),`.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark github-dark`,style:{backgroundColor:`#24292e`,\"--shiki-dark-bg\":`#24292e`,color:`#e1e4e8`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`{`}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"conditions\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: [{`}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"metric\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"notional_pct_volume_1h\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"op\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\">=\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`2`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`}]}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`That is “a liquidation worth at least 2 percent of this market’s last hour of volume”, on every market at once. Market references are refreshed every minute and wallet volumes every 10 minutes. A relative value is `,_jsx(_components.code,{children:`null`}),`, so a condition on it does not fire, when its denominator is under 10,000 USD, which keeps a thin market from producing a huge percentage. `,_jsx(_components.code,{children:`notional_pct_oi`}),` is `,_jsx(_components.code,{children:`null`}),` on spot markets, and the volume percentages are `,_jsx(_components.code,{children:`null`}),` on Lighter on Robinhood Chain. A payload with a relative value carries `,_jsx(_components.code,{children:`reference_at`}),`, the time the denominator was measured.`]}),`\n`,_jsx(Heading,{level:`2`,id:`params`,children:`Params`}),`\n`,_jsx(_components.p,{children:`Some events are defined by a window or a level, so the value changes what an occurrence is rather than filtering one. This is the full list; defaults are in parentheses.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`market.liquidation_burst`}),`: `,_jsx(_components.code,{children:`window_s`}),` one of 60, 300, 900, 3600 (300); `,_jsx(_components.code,{children:`threshold_mode`}),` one of `,_jsx(_components.code,{children:`usd`}),`, `,_jsx(_components.code,{children:`pct_oi`}),`, `,_jsx(_components.code,{children:`pct_volume_1h`}),` (`,_jsx(_components.code,{children:`usd`}),`); `,_jsx(_components.code,{children:`threshold_usd`}),` from 1,000, used in `,_jsx(_components.code,{children:`usd`}),` mode (1,000,000); `,_jsx(_components.code,{children:`threshold_pct`}),` 0.01 to 100, used in the two percent modes (1).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`market.oi_delta`}),`: `,_jsx(_components.code,{children:`window_s`}),` one of 300, 900, 3600 (900); `,_jsx(_components.code,{children:`threshold_pct`}),` 0.1 to 1000 (10).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`market.breadth_cross`}),`: `,_jsx(_components.code,{children:`threshold`}),` 1 to 99 percent (30); `,_jsx(_components.code,{children:`hysteresis_pct`}),` 0 to 50 points (5).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`oracle.jump`}),`: `,_jsx(_components.code,{children:`threshold_pct`}),` 0.1 to 50 (2).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`oracle.stall`}),`: `,_jsx(_components.code,{children:`window_s`}),` one of 60, 120, 300, 900, 3600 (300).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ingest.stall`}),` and `,_jsx(_components.code,{children:`ingest.recovered`}),`: `,_jsx(_components.code,{children:`threshold_s`}),` one of 60, 120, 300, 600, 1800, 3600 (600). A market is judged against it only when the threshold is at least five times its usual update interval. Lighter books update about once a minute, so on the Lighter venues most markets are judged from 600 seconds and the sparsest only from 1800.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`chain.block_stall`}),`: `,_jsx(_components.code,{children:`threshold_s`}),` one of 10, 20, 30, 60, 120, 300, 600 (20).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`chain.block_time_degraded`}),`: `,_jsx(_components.code,{children:`degraded_pct`}),` one of 10, 20, 30, 50 (20); `,_jsx(_components.code,{children:`consecutive_minutes`}),` one of 1, 2, 3, 5 (2).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`billing.credit_low`}),`: `,_jsx(_components.code,{children:`levels_pct`}),`, a list of percent-remaining levels, each 0 to 100 (`,_jsx(_components.code,{children:`[25, 10, 0]`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`market.liquidation`}),`, `,_jsx(_components.code,{children:`market.pga_payment`}),`, `,_jsx(_components.code,{children:`hip4.settlement`}),` and every `,_jsx(_components.code,{children:`account.*`}),` event: `,_jsx(_components.code,{children:`max_age_s`}),` 60 to 86400 (3600, or 7200 for `,_jsx(_components.code,{children:`hip4.settlement`}),` and `,_jsx(_components.code,{children:`account.hip4_settled`}),`). See below.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`market.liquidation_burst`}),` can be written in relative terms: `,_jsx(_components.code,{children:`{\"params\": {\"window_s\": 60, \"threshold_mode\": \"pct_oi\", \"threshold_pct\": 1}}`}),` is “liquidations inside a minute worth one percent of that market’s open interest”, a meaningful threshold on every perp without picking a dollar figure per market. A market without a reference does not fire the percent modes. The default mode is `,_jsx(_components.code,{children:`usd`}),`, so a rule written before modes existed keeps firing exactly as it did.`]}),`\n`,_jsxs(_components.p,{children:[`Omitted params take the declared default. A value outside the range or off the menu is refused with a 400 naming the allowed values. A declared param may also be written at the top level of `,_jsx(_components.code,{children:`filters`}),` (`,_jsx(_components.code,{children:`\"threshold_s\": 60`}),`) and is routed into `,_jsx(_components.code,{children:`params`}),`; on `,_jsx(_components.code,{children:`market.liquidation_burst`}),`, a top-level `,_jsx(_components.code,{children:`threshold`}),` means `,_jsx(_components.code,{children:`threshold_usd`}),`. Two rules with different params are two different triggers, and their deliveries carry different event ids.`]}),`\n`,_jsx(Heading,{level:`3`,id:`max_age_s-and-late-deliveries`,children:`max_age_s and late deliveries`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`max_age_s`}),` is the oldest occurrence you still want delivered, in seconds behind real time. In normal operation it never comes into play. After an outage on our side, the engine catches up as far back as your `,_jsx(_components.code,{children:`max_age_s`}),` and delivers those occurrences with `,_jsx(_components.code,{children:`late_ms`}),` set, and with `,_jsx(_components.code,{children:`late: true`}),` when they are more than 10 minutes behind, instead of dropping them. Anything older is skipped; fetch it from the REST API or an export. Set it low when a stale alert is worse than no alert, such as a trading trigger, and high when completeness matters more, such as an audit trail.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-api-stores`,children:`What the API stores`}),`\n`,_jsx(_components.p,{children:`A fuller rule, on fills by a watched address:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark github-dark`,style:{backgroundColor:`#24292e`,\"--shiki-dark-bg\":`#24292e`,color:`#e1e4e8`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"endpoint_id\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"f4797c46-ada6-4c09-a076-5689a974e4be\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"event_type\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"account.fill\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"filters\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"venue\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"hyperliquid\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"symbols\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"BTC\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"ETH\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"addresses\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"0x2b1e0bcefada121c5bc484a546e3ca0e2a8bee5b\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: {`}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"max_age_s\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`900`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"conditions\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` { `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"metric\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"notional_usd\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"op\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"greater_than_or_equal\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`25000`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` { `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"metric\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"side\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"op\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"in\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"buy\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`] }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The response echoes the stored configuration, normalized: operators in their word form, addresses lowercased, every declared param present with defaults filled in, and `,_jsx(_components.code,{children:`min_notional_usd`}),` mirrored from the loosest `,_jsx(_components.code,{children:`notional_usd`}),` lower bound among your conditions.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark github-dark`,style:{backgroundColor:`#24292e`,\"--shiki-dark-bg\":`#24292e`,color:`#e1e4e8`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`true`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"3c1f0a52-8d6b-4f0e-9b1a-6f2c4d8e9a10\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"endpoint_id\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"f4797c46-ada6-4c09-a076-5689a974e4be\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"event_type\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"account.fill\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"filters\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"venue\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"hyperliquid\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"symbols\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"BTC\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"ETH\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"addresses\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"0x2b1e0bcefada121c5bc484a546e3ca0e2a8bee5b\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: {`}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"max_age_s\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`900`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"conditions\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` { `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"metric\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"notional_usd\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"op\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"greater_than_or_equal\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`25000`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` { `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"metric\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"side\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"op\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"in\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`, `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: [`}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"buy\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`] }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"min_notional_usd\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`25000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"enabled\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:`true`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#79B8FF`,\"--shiki-dark\":`#79B8FF`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-09-17T10:12:09Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`edit-or-switch-off-a-rule`,children:`Edit or switch off a rule`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PATCH /v1/webhooks/subscriptions/{id}`}),` with `,_jsx(_components.code,{children:`{\"config\": {...}}`}),` replaces the whole configuration in place, validated exactly like create (`,_jsx(_components.code,{children:`filters`}),` is accepted as the key too). `,_jsx(_components.code,{children:`{\"enabled\": false}`}),` switches delivery off without losing the configuration, and `,_jsx(_components.code,{children:`{\"enabled\": true}`}),` switches it back on, so tuning a threshold never means deleting and recreating the rule. The response is the updated rule in the same shape as create.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark github-dark`,style:{backgroundColor:`#24292e`,\"--shiki-dark-bg\":`#24292e`,color:`#e1e4e8`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B392F0`,\"--shiki-dark\":`#B392F0`},children:`curl`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` -X PATCH https://api.0xarchive.io/v1/webhooks/subscriptions/3c1f0a52-8d6b-4f0e-9b1a-6f2c4d8e9a10 \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` -H `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"X-API-Key: $OXARCHIVE_API_KEY\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` -H `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`\"content-type: application/json\"`}),_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E1E4E8`,\"--shiki-dark\":`#E1E4E8`},children:` -d `}),_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"venue\": \"hyperliquid\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"symbols\": [\"BTC\", \"ETH\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"addresses\": [\"0x2b1e0bcefada121c5bc484a546e3ca0e2a8bee5b\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"params\": {\"max_age_s\": 900},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` \"conditions\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` { \"metric\": \"notional_usd\", \"op\": \">=\", \"value\": 50000 },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` { \"metric\": \"side\", \"op\": \"in\", \"value\": [\"buy\"] }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ECBFF`,\"--shiki-dark\":`#9ECBFF`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This raises the fill rule above from 25,000 to 50,000 and keeps everything else. Because the new configuration replaces the old one, send every key you want to keep. A key you leave out returns to its default: without `,_jsx(_components.code,{children:`addresses`}),` the rule covers every watched address, without the `,_jsx(_components.code,{children:`side`}),` condition it covers both sides, and without `,_jsx(_components.code,{children:`params`}),` its `,_jsx(_components.code,{children:`max_age_s`}),` returns to 3600.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`enabled`}),` is your switch, and it is separate from the engine’s own pause when a rule reaches the plan’s daily allowance. Resuming a paused rule never flips your switch, and switching a rule on never resumes it. See `,_jsx(_components.a,{href:`/webhooks/delivery-and-retries#paused-rules`,children:`Paused rules`}),`. `,_jsx(_components.code,{children:`DELETE /v1/webhooks/subscriptions/{id}`}),` removes a rule for good.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-step`,children:`Next step`}),`\n`,_jsx(_MdxComponentBoundary,{name:`TaskCard`,children:_jsx(TaskCard,{title:`Find the threshold worth hearing about`,description:`For an event with preview support, inspect recent matches or estimated frequency before saving the rule. Account previews also need a watched address.`,href:`/webhooks/estimate-and-dry-run`,action:`Preview your configuration`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{TaskCard,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":"github-dark"},"config":{},"pageMetadata":{"title":"Alert rules","sidebarTitle":"Rules","description":"Configure a rule: scope it by venue, symbol and wallet, add conditions and relative thresholds, set its parameters, and edit it in place.","href":"/webhooks/rules"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[144,1363,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"A first rule","slug":"a-first-rule","depth":2,"children":[]},{"title":"Scope","slug":"scope","depth":2,"children":[{"title":"Symbol conventions","slug":"symbol-conventions","depth":3,"children":[]}]},{"title":"Conditions","slug":"conditions","depth":2,"children":[{"title":"Relative values","slug":"relative-values","depth":3,"children":[]}]},{"title":"Params","slug":"params","depth":2,"children":[{"title":"max_age_s and late deliveries","slug":"max_age_s-and-late-deliveries","depth":3,"children":[]}]},{"title":"What the API stores","slug":"what-the-api-stores","depth":2,"children":[]},{"title":"Edit or switch off a rule","slug":"edit-or-switch-off-a-rule","depth":2,"children":[]},{"title":"Next step","slug":"next-step","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/0xarchive-e895b8e7/7de7178c454c8311/analytics-delayed.js","/_mintlify/custom/0xarchive-e895b8e7/64d76990ea4d1101/ahrefs-analytics.js","/_mintlify/custom/0xarchive-e895b8e7/9c04a5e34ef7363a/assistant-ui.js","/_mintlify/custom/0xarchive-e895b8e7/ae934b733ebeac03/single-public-docs.js","/_mintlify/custom/0xarchive-e895b8e7/ab832e8be54292e5/webhooks-anchors.js"],"subdomain":"0xarchive-e895b8e7","siteName":"0xArchive","title":"Alert rules - 0xArchive","contextualStarterQuestions":[{"_id":"6af87e8b665dfb87d440de10","deploymentId":"69fcef8bc84766ada2de665b","questionText":"What are rule conditions?","status":"active","generatedBy":"contextual","path":"webhooks/rules","createdAt":"2026-11-14T15:30:19.098Z","updatedAt":"2026-11-14T15:30:19.098Z","__v":0},{"_id":"6af87e8b665dfb87d440de11","deploymentId":"69fcef8bc84766ada2de665b","questionText":"How do I set rule thresholds?","status":"active","generatedBy":"contextual","path":"webhooks/rules","createdAt":"2026-11-14T15:30:19.098Z","updatedAt":"2026-11-14T15:30:19.098Z","__v":0},{"_id":"6af87e8b665dfb87d440de0f","deploymentId":"69fcef8bc84766ada2de665b","questionText":"How do I scope a rule?","status":"active","generatedBy":"contextual","path":"webhooks/rules","createdAt":"2026-11-14T15:30:19.098Z","updatedAt":"2026-11-14T15:30:19.098Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-14T15:30:09.130Z","gitLastModified":"2026-10-18T03:21:29.000Z","originalFileLocation":"webhooks/rules.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure a rule: scope it by venue, symbol and wallet, add conditions and relative thresholds, set its parameters, and edit it in place.\">\u003cmeta data-mint-head name=\"application-name\" content=\"0xArchive\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/0xarchive-e895b8e7/epsl9cg6_-QmFjTh/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/0xarchive-e895b8e7/epsl9cg6_-QmFjTh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/0xarchive-e895b8e7/epsl9cg6_-QmFjTh/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/0xarchive-e895b8e7/epsl9cg6_-QmFjTh/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/0xarchive-e895b8e7/epsl9cg6_-QmFjTh/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/0xarchive-e895b8e7/epsl9cg6_-QmFjTh/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/0xarchive-e895b8e7/epsl9cg6_-QmFjTh/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/0xarchive-e895b8e7/epsl9cg6_-QmFjTh/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/0xarchive-e895b8e7/epsl9cg6_-QmFjTh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Alert rules - 0xArchive\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure a rule: scope it by venue, symbol and wallet, add conditions and relative thresholds, set its parameters, and edit it in place.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"0xArchive Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.0xarchive.io/webhooks/rules\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://0xarchive-e895b8e7.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Alert+rules\u0026amp;description=Configure+a+rule%3A+scope+it+by+venue%2C+symbol+and+wallet%2C+add+conditions+and+relative+thresholds%2C+set+its+parameters%2C+and+edit+it+in+place.\u0026amp;theme=77376188720d2fe77317e930\u0026amp;signature=849ba21b6c308d6ccb6abbe5d71660795daaf41c46c2047edf0fa07c1f1bc51d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Alert rules - 0xArchive\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure a rule: scope it by venue, symbol and wallet, add conditions and relative thresholds, set its parameters, and edit it in place.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://0xarchive-e895b8e7.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Alert+rules\u0026amp;description=Configure+a+rule%3A+scope+it+by+venue%2C+symbol+and+wallet%2C+add+conditions+and+relative+thresholds%2C+set+its+parameters%2C+and+edit+it+in+place.\u0026amp;theme=77376188720d2fe77317e930\u0026amp;signature=849ba21b6c308d6ccb6abbe5d71660795daaf41c46c2047edf0fa07c1f1bc51d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/0xarchive-e895b8e7/epsl9cg6_-QmFjTh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"0xArchive\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#15803D\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"Hpedp6bedqc3av1195euaGMwyFEVHcJhcyUY9YiMvTY\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.0xarchive.io/webhooks/rules\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/webhooks/rules.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://0xarchive.io/#organization\",\"name\":\"0xArchive\",\"legalName\":\"Archive Labs Inc.\",\"url\":\"https://0xarchive.io/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://0xarchive.io/logo-square-1024.png\"},\"sameAs\":[\"https://x.com/0xarchiveIo\",\"https://github.com/0xArchiveIO\",\"https://t.me/archivedotio\",\"https://www.linkedin.com/company/0xarchive/\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.0xarchive.io#website\",\"name\":\"0xArchive\",\"url\":\"https://docs.0xarchive.io\",\"publisher\":{\"@id\":\"https://0xarchive.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.0xarchive.io/webhooks/rules#webpage\",\"url\":\"https://docs.0xarchive.io/webhooks/rules\",\"name\":\"Alert rules\",\"description\":\"Configure a rule: scope it by venue, symbol and wallet, add conditions and relative thresholds, set its parameters, and edit it in place.\",\"dateModified\":\"2026-10-18T03:21:29.000Z\",\"isPartOf\":{\"@id\":\"https://docs.0xarchive.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.0xarchive.io/webhooks/rules#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.0xarchive.io/webhooks/rules#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.0xarchive.io/webhooks/events\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Alert rules\",\"item\":\"https://docs.0xarchive.io/webhooks/rules\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.0xarchive.io/webhooks/rules#article\",\"headline\":\"Alert rules\",\"name\":\"Alert rules\",\"description\":\"Configure a rule: scope it by venue, symbol and wallet, add conditions and relative thresholds, set its parameters, and edit it in place.\",\"url\":\"https://docs.0xarchive.io/webhooks/rules\",\"mainEntityOfPage\":{\"@id\":\"https://docs.0xarchive.io/webhooks/rules#webpage\"},\"dateModified\":\"2026-10-18T03:21:29.000Z\",\"publisher\":{\"@id\":\"https://0xarchive.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.0xarchive.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"0xArchive\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"0xArchive\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/webhooks/rules.md","siteName":"0xArchive","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":""}]},{"tab":"REST API","pages":[{"title":"REST API","href":"/rest-api"}]},{"tab":"WebSocket","pages":[{"title":"WebSocket","href":"/websocket"}]},{"tab":"Webhook Alerts","pages":[{"title":"Webhook Alerts","sidebarTitle":"Overview","href":"/webhooks"},{"title":"Webhook Alerts quickstart","sidebarTitle":"Quickstart","href":"/webhooks/quickstart"},{"group":"Guides","icon":"route","pages":[{"title":"Alert events","sidebarTitle":"Events","description":"Every Webhook Alerts event type by category: what it reports, which venues it covers, how fast it arrives, and the parameters that define it.","href":"/webhooks/events"},{"title":"Alert rules","sidebarTitle":"Rules","href":"/webhooks/rules"},{"title":"Estimate and dry-run","sidebarTitle":"Estimate and dry-run","description":"Size a Webhook Alerts rule before you create it: how often it would have fired per day, a ladder of thresholds, and the events it would have delivered.","href":"/webhooks/estimate-and-dry-run"},{"title":"Watched addresses","sidebarTitle":"Watched addresses","href":"/webhooks/watched-addresses"},{"title":"Signatures and payloads","sidebarTitle":"Signatures and payloads","href":"/webhooks/signatures-and-payloads"},{"title":"Delivery and retries","sidebarTitle":"Delivery and retries","href":"/webhooks/delivery-and-retries"},{"title":"Limits and plans","sidebarTitle":"Limits and plans","href":"/webhooks/limits-and-plans"}]},{"group":"API reference","icon":"book-open-check","pages":[{"title":"API overview","icon":"webhook","href":"/api-reference/webhooks"},{"group":"Event types and limits","expanded":false,"pages":[{"title":"List webhook event types","openapi":"openapi.json GET /v1/webhooks/event-types","href":"/api-reference/webhooks--catalog-and-limits/list-webhook-event-types"},{"title":"Get webhook plan limits and usage","openapi":"openapi.json GET /v1/webhooks/limits","href":"/api-reference/webhooks--catalog-and-limits/get-webhook-plan-limits-and-usage"}]},{"group":"Receiver endpoints","expanded":false,"pages":[{"title":"List webhook endpoints","openapi":"openapi.json GET /v1/webhooks/endpoints","href":"/api-reference/webhooks--endpoints/list-webhook-endpoints"},{"title":"Create a webhook endpoint","openapi":"openapi.json POST /v1/webhooks/endpoints","href":"/api-reference/webhooks--endpoints/create-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","openapi":"openapi.json DELETE /v1/webhooks/endpoints/{id}","href":"/api-reference/webhooks--endpoints/delete-a-webhook-endpoint"},{"title":"Enable a webhook endpoint","openapi":"openapi.json POST /v1/webhooks/endpoints/{id}/enable","href":"/api-reference/webhooks--endpoints/enable-a-webhook-endpoint"},{"title":"Rotate a webhook endpoint secret","openapi":"openapi.json POST /v1/webhooks/endpoints/{id}/rotate","href":"/api-reference/webhooks--endpoints/rotate-a-webhook-endpoint-secret"},{"title":"Send a test delivery","openapi":"openapi.json POST /v1/webhooks/endpoints/{id}/test","href":"/api-reference/webhooks--endpoints/send-a-test-delivery"}]},{"group":"Subscriptions","expanded":false,"pages":[{"title":"List webhook subscriptions","openapi":"openapi.json GET /v1/webhooks/subscriptions","href":"/api-reference/webhooks--subscriptions/list-webhook-subscriptions"},{"title":"Create a webhook subscription","openapi":"openapi.json POST /v1/webhooks/subscriptions","href":"/api-reference/webhooks--subscriptions/create-a-webhook-subscription"},{"title":"Resume every paused subscription","openapi":"openapi.json POST /v1/webhooks/subscriptions/resume","href":"/api-reference/webhooks--subscriptions/resume-every-paused-subscription"},{"title":"Delete a webhook subscription","openapi":"openapi.json DELETE /v1/webhooks/subscriptions/{id}","href":"/api-reference/webhooks--subscriptions/delete-a-webhook-subscription"},{"title":"Update a webhook subscription","openapi":"openapi.json PATCH /v1/webhooks/subscriptions/{id}","href":"/api-reference/webhooks--subscriptions/update-a-webhook-subscription"},{"title":"Resume a paused subscription","openapi":"openapi.json POST /v1/webhooks/subscriptions/{id}/resume","href":"/api-reference/webhooks--subscriptions/resume-a-paused-subscription"}]},{"group":"Previews","expanded":false,"pages":[{"title":"Dry-run a webhook subscription","openapi":"openapi.json POST /v1/webhooks/subscriptions/dry-run","href":"/api-reference/webhooks--previews/dry-run-a-webhook-subscription"},{"title":"Estimate a webhook subscription","openapi":"openapi.json POST /v1/webhooks/subscriptions/estimate","href":"/api-reference/webhooks--previews/estimate-a-webhook-subscription"}]},{"group":"Deliveries","expanded":false,"pages":[{"title":"Send a past delivery again","openapi":"openapi.json POST /v1/webhooks/deliveries/{id}/redeliver","href":"/api-reference/webhooks--deliveries/send-a-past-delivery-again"},{"title":"List deliveries for an endpoint","openapi":"openapi.json GET /v1/webhooks/endpoints/{id}/deliveries","href":"/api-reference/webhooks--deliveries/list-deliveries-for-an-endpoint"}]},{"group":"Watched addresses","expanded":false,"pages":[{"title":"List watched wallet addresses","openapi":"openapi.json GET /v1/webhooks/addresses","href":"/api-reference/webhooks--watched-addresses/list-watched-wallet-addresses"},{"title":"Add a watched wallet address","openapi":"openapi.json POST /v1/webhooks/addresses","href":"/api-reference/webhooks--watched-addresses/add-a-watched-wallet-address"},{"title":"Delete a watched wallet address","openapi":"openapi.json DELETE /v1/webhooks/addresses/{id}","href":"/api-reference/webhooks--watched-addresses/delete-a-watched-wallet-address"}]},{"group":"JSON schemas","expanded":false,"pages":[{"title":"Webhooks Schemas","href":"/schemas/families/webhooks"},{"title":"List watched wallet addresses JSON Schema","href":"/schemas/operations/list-webhook-watched-addresses"},{"title":"Add a watched wallet address JSON Schema","href":"/schemas/operations/add-webhook-watched-address"},{"title":"Delete a watched wallet address JSON Schema","href":"/schemas/operations/delete-webhook-watched-address"},{"title":"Send a past delivery again JSON Schema","href":"/schemas/operations/redeliver-webhook-delivery"},{"title":"List webhook endpoints JSON Schema","href":"/schemas/operations/list-webhook-endpoints"},{"title":"Create a webhook endpoint JSON Schema","href":"/schemas/operations/create-webhook-endpoint"},{"title":"Delete a webhook endpoint JSON Schema","href":"/schemas/operations/delete-webhook-endpoint"},{"title":"List deliveries for an endpoint JSON Schema","href":"/schemas/operations/list-webhook-deliveries"},{"title":"Enable a webhook endpoint JSON Schema","href":"/schemas/operations/enable-webhook-endpoint"},{"title":"Rotate a webhook endpoint secret JSON Schema","href":"/schemas/operations/rotate-webhook-endpoint-secret"},{"title":"Send a test delivery JSON Schema","href":"/schemas/operations/test-webhook-endpoint"},{"title":"List webhook event types JSON Schema","href":"/schemas/operations/list-webhook-event-types"},{"title":"Get webhook plan limits and usage JSON Schema","href":"/schemas/operations/get-webhook-limits"},{"title":"List webhook subscriptions JSON Schema","href":"/schemas/operations/list-webhook-subscriptions"},{"title":"Create a webhook subscription JSON Schema","href":"/schemas/operations/create-webhook-subscription"},{"title":"Dry-run a webhook subscription JSON Schema","href":"/schemas/operations/dry-run-webhook-subscription"},{"title":"Estimate a webhook subscription JSON Schema","href":"/schemas/operations/estimate-webhook-subscription"},{"title":"Resume every paused subscription JSON Schema","href":"/schemas/operations/resume-all-webhook-subscriptions"},{"title":"Delete a webhook subscription JSON Schema","href":"/schemas/operations/delete-webhook-subscription"},{"title":"Update a webhook subscription JSON Schema","href":"/schemas/operations/update-webhook-subscription"},{"title":"Resume a paused subscription JSON Schema","href":"/schemas/operations/resume-webhook-subscription"}]},{"group":"Component schemas","expanded":false,"pages":[{"title":"ApiResponseWebhookAck Schema","href":"/schemas/components/api-response-webhook-ack"},{"title":"ApiResponseWebhookDeliveryArray Schema","href":"/schemas/components/api-response-webhook-delivery-array"},{"title":"ApiResponseWebhookDeliveryQueued Schema","href":"/schemas/components/api-response-webhook-delivery-queued"},{"title":"ApiResponseWebhookDryRun Schema","href":"/schemas/components/api-response-webhook-dry-run"},{"title":"ApiResponseWebhookEndpointArray Schema","href":"/schemas/components/api-response-webhook-endpoint-array"},{"title":"ApiResponseWebhookEndpointCreated Schema","href":"/schemas/components/api-response-webhook-endpoint-created"},{"title":"ApiResponseWebhookEndpointSecret Schema","href":"/schemas/components/api-response-webhook-endpoint-secret"},{"title":"ApiResponseWebhookEstimate Schema","href":"/schemas/components/api-response-webhook-estimate"},{"title":"ApiResponseWebhookEventTypeArray Schema","href":"/schemas/components/api-response-webhook-event-type-array"},{"title":"ApiResponseWebhookLimits Schema","href":"/schemas/components/api-response-webhook-limits"},{"title":"ApiResponseWebhookRedelivery Schema","href":"/schemas/components/api-response-webhook-redelivery"},{"title":"ApiResponseWebhookSubscription Schema","href":"/schemas/components/api-response-webhook-subscription"},{"title":"ApiResponseWebhookSubscriptionArray Schema","href":"/schemas/components/api-response-webhook-subscription-array"},{"title":"ApiResponseWebhookSubscriptionResume Schema","href":"/schemas/components/api-response-webhook-subscription-resume"},{"title":"ApiResponseWebhookSubscriptionResumeAll Schema","href":"/schemas/components/api-response-webhook-subscription-resume-all"},{"title":"ApiResponseWebhookWatchedAddress Schema","href":"/schemas/components/api-response-webhook-watched-address"},{"title":"ApiResponseWebhookWatchedAddressArray Schema","href":"/schemas/components/api-response-webhook-watched-address-array"},{"title":"WebhookDelivery Schema","href":"/schemas/components/webhook-delivery"},{"title":"WebhookDeliveryBudget Schema","href":"/schemas/components/webhook-delivery-budget"},{"title":"WebhookDeliveryEnvelope Schema","href":"/schemas/components/webhook-delivery-envelope"},{"title":"WebhookDeliveryQueued Schema","href":"/schemas/components/webhook-delivery-queued"},{"title":"WebhookDryRun Schema","href":"/schemas/components/webhook-dry-run"},{"title":"WebhookDryRunRequest Schema","href":"/schemas/components/webhook-dry-run-request"},{"title":"WebhookEndpoint Schema","href":"/schemas/components/webhook-endpoint"},{"title":"WebhookEndpointCreateRequest Schema","href":"/schemas/components/webhook-endpoint-create-request"},{"title":"WebhookEndpointCreated Schema","href":"/schemas/components/webhook-endpoint-created"},{"title":"WebhookEndpointSecret Schema","href":"/schemas/components/webhook-endpoint-secret"},{"title":"WebhookEstimate Schema","href":"/schemas/components/webhook-estimate"},{"title":"WebhookEstimateBasis Schema","href":"/schemas/components/webhook-estimate-basis"},{"title":"WebhookEstimateDayCount Schema","href":"/schemas/components/webhook-estimate-day-count"},{"title":"WebhookEstimateDistribution Schema","href":"/schemas/components/webhook-estimate-distribution"},{"title":"WebhookEstimateRequest Schema","href":"/schemas/components/webhook-estimate-request"},{"title":"WebhookEstimateRung Schema","href":"/schemas/components/webhook-estimate-rung"},{"title":"WebhookEventType Schema","href":"/schemas/components/webhook-event-type"},{"title":"WebhookEventTypeMetric Schema","href":"/schemas/components/webhook-event-type-metric"},{"title":"WebhookEventTypeParam Schema","href":"/schemas/components/webhook-event-type-param"},{"title":"WebhookLimitUsage Schema","href":"/schemas/components/webhook-limit-usage"},{"title":"WebhookLimits Schema","href":"/schemas/components/webhook-limits"},{"title":"WebhookPausedSubscriptions Schema","href":"/schemas/components/webhook-paused-subscriptions"},{"title":"WebhookPreviewOccurrence Schema","href":"/schemas/components/webhook-preview-occurrence"},{"title":"WebhookPreviewWindow Schema","href":"/schemas/components/webhook-preview-window"},{"title":"WebhookRedelivery Schema","href":"/schemas/components/webhook-redelivery"},{"title":"WebhookResumeGap Schema","href":"/schemas/components/webhook-resume-gap"},{"title":"WebhookSubscription Schema","href":"/schemas/components/webhook-subscription"},{"title":"WebhookSubscriptionCondition Schema","href":"/schemas/components/webhook-subscription-condition"},{"title":"WebhookSubscriptionConfig Schema","href":"/schemas/components/webhook-subscription-config"},{"title":"WebhookSubscriptionCreateRequest Schema","href":"/schemas/components/webhook-subscription-create-request"},{"title":"WebhookSubscriptionUpdateRequest Schema","href":"/schemas/components/webhook-subscription-update-request"},{"title":"WebhookWatchedAddress Schema","href":"/schemas/components/webhook-watched-address"},{"title":"WebhookWatchedAddressCreateRequest Schema","href":"/schemas/components/webhook-watched-address-create-request"}]}]}]},{"tab":"Bulk Exports","pages":[{"title":"Bulk Exports","href":"/exports"}]},{"tab":"SDKs \u0026 Tools","pages":[{"title":"SDKs \u0026 Tools","href":"/tooling"}]},{"tab":"Terminal","pages":[{"title":"Terminal","href":"/terminal"}]}]},"basePath":"","title":"Alert rules - 0xArchive","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}