Skip to content
wardquiet

Documentation

Set up read-only monitoring, wire alerts into your tools and look up rule, webhook and API details.

Reference

Rules reference

Every monitor is built from one rule template. This page lists each template with the networks and asset kinds it applies to, its parameters, its default severity and its known limitations.

How parameters work#

Parameters are sent as the params object of a monitor and validated by the API. Unknown keys are rejected, addresses are normalized for the monitor’s network, and errors come back as 422 validation_failed with the offending field, for example params.threshold_usd. The same templates, including form metadata, are served to signed-in users by GET /api/v1/rule-templates.

Parameter types
TypeFormat
decimalDecimal number as a JSON string, e.g. "250000.5" (avoids float rounding).
percentPercentage as a decimal string, e.g. "20".
durationDuration string such as "15m", "1h" or "24h"; windows must be between 1m and 168h.
assetToken address, Solana mint, Sui coin type or "native", normalized for the monitor’s network.
address_listJSON array of address strings, normalized for the monitor’s network.
enumOne of the listed option strings.
multi_enumJSON array of option strings.
boolJSON boolean.

Example monitor#

A monitor combines a template with assets, parameters, a severity and channels. All assets must belong to the workspace and to the monitor’s chain. This one raises a critical incident when more than $500,000 net leaves a Sui treasury within an hour, ignoring transfers to one known recipient.

POST /api/v1/workspaces/{ws}/monitors
{
  "name": "Treasury outflow 1h",
  "rule": "treasury_outflow",
  "chain": "sui",
  "asset_ids": ["<asset-id>"],
  "params": {
    "window": "1h",
    "threshold_usd": "500000",
    "net": true,
    "whitelist": [
      "0x4444444444444444444444444444444444444444444444444444444444444444"
    ]
  },
  "severity": "critical",
  "channel_ids": ["<channel-id>"],
  "enabled": true,
  "cooldown_seconds": 900
}

Before enabling a monitor, dry-run it with POST /workspaces/{ws}/monitors/test — see Test it on history.

Large transfer

high

large_transfer

A single transfer above a token or USD threshold.

Networks
SuiSolanaBNB Smart ChainEthereum
Asset kinds
walletcontractmove_object
Default severity
high
Large transfer parameters
ParameterTypeRequiredDefaultNotes
directionenumYesoutDirection. Options: out, in, any
assetassetNo—Asset. Token address, mint, coin type or "native". Leave empty for any asset (USD threshold required).
threshold_tokendecimalNo—Threshold (tokens)
threshold_usddecimalNo—Threshold (USD). Uses the price at event time; the price timestamp is shown on the incident.
whitelistaddress_listNo—Whitelisted counterparties

Validation. Set threshold_token or threshold_usd (or both — the rule fires if either is exceeded). threshold_token requires asset.

Treasury outflow

critical

treasury_outflow

Net outflow from a treasury within a time window.

Networks
SuiSolanaBNB Smart ChainEthereum
Asset kinds
walletcontractmove_object
Default severity
critical
Treasury outflow parameters
ParameterTypeRequiredDefaultNotes
windowdurationYes1hWindow
assetassetNo—Asset. Leave empty to sum all assets in USD.
threshold_tokendecimalNo—Threshold (tokens)
threshold_usddecimalNo—Threshold (USD)
netboolNotrueSubtract inflows
whitelistaddress_listNo—Known recipients. Transfers to these addresses are excluded.

Validation. Set threshold_token or threshold_usd. threshold_token requires asset. Window between 1m and 168h.

Authority change

critical

authority_change

Owner, role, mint or upgrade authority changes.

Networks
SuiSolanaBNB Smart ChainEthereum
Asset kinds
contracttokenprogrammove_objectmove_package
Default severity
critical
Authority change parameters
ParameterTypeRequiredDefaultNotes
rolesmulti_enumNo—Roles. Options: owner, admin, role, mint_authority, freeze_authority, upgrade_authority, object_owner. Empty = all roles.
expected_new_valuesaddress_listNo—Expected new holders. Changes to these holders never trigger (e.g. a known multisig).

Contract upgrade

high

contract_upgrade

Proxy implementation, Solana program or Sui package upgraded.

Networks
SuiSolanaBNB Smart ChainEthereum
Asset kinds
contractprogrammove_objectmove_package
Default severity
high
Contract upgrade parameters
ParameterTypeRequiredDefaultNotes
allowed_implementationsaddress_listNo—Pre-approved implementations. Pre-announced upgrades to these never trigger.

Mint / burn / pause

high

mint_burn_pause

Supply changes or pause status of a token or protocol.

Networks
SuiSolanaBNB Smart ChainEthereum
Asset kinds
contracttokenmove_object
Default severity
high
Mint / burn / pause parameters
ParameterTypeRequiredDefaultNotes
actionsmulti_enumNoall fourActions. Options: mint, burn, pause, unpause. Empty = all actions.
min_amountdecimalNo—Minimum amount (tokens). Applies to mint and burn.

Liquidity outflow

high

liquidity_outflow

Liquidity leaving a pool or vault within a window.

Networks
SuiSolanaBNB Smart ChainEthereum
Asset kinds
contractwalletmove_object
Default severity
high
Liquidity outflow parameters
ParameterTypeRequiredDefaultNotes
windowdurationYes15mWindow
assetassetYes—Pool asset
threshold_percentpercentNo20Threshold (% of pool)
threshold_tokendecimalNo—Threshold (tokens)
threshold_usddecimalNo—Threshold (USD)

Validation. Set at least one of threshold_percent, threshold_token or threshold_usd. Window between 1m and 168h.

Oracle deviation

high

oracle_deviation

Price feed update deviates beyond a percentage.

Networks
EthereumBNB Smart Chain
Asset kinds
contract
Default severity
high
Oracle deviation parameters
ParameterTypeRequiredDefaultNotes
max_deviation_percentpercentYes5Max deviation (%)
compareenumYespreviousCompare with. Options: previous, reference. previous = the feed’s previous answer; reference = the price source.
reference_assetassetNo—Reference asset. Required when compare is reference.

General limitations#

  • Rules evaluate events after they appear in the available data stream; they do not prevent transactions.
  • USD values use the price at event time from the configured price source; when an asset has no price, USD thresholds cannot apply to it.
  • Authority and upgrade detection relies on recognized patterns. See network support for the per-network matrix.