Overview
The TVL Monitor watches the balance of specified assets held by a monitored contract and fires an alert whenever the balance drops by more than a configured threshold between the previous block and the current block. Two asset types are supported independently:- Native coin (ETH, MATIC, etc.) — monitored via direct RPC balance queries
- ERC-20 tokens — monitored via
balanceOf()calls against each configured token contract
Monitoring Tokens
A list of ERC-20 token addresses to watch, each with its own drop threshold.
Multiple tokens can be added. Each token is checked independently — a drop in one does not affect others.
How to specify ERC-20 tokens: provide the token contract address and a threshold for the value locked in that particular asset.
Native Token
Enables monitoring of the network’s native coin (e.g. ETH) balance held by the monitored contract.- Set
native_token_statustotrueto enable native coin monitoring. native_token_thresholdfollows the same format as ERC-20 thresholds (absolute or percentage).
Native coin monitoring is only triggered when a transaction carries a non-zero
value directly to the monitored contract address.Threshold Format
Thresholds can be expressed in two formats:
To use a percentage, include the
% sign. To use an absolute value, enter a plain number string.
Thresholds are per-asset and are not denominated in USD. A
5% threshold on USDC and a 5% threshold on ETH are evaluated independently in their respective token units.Severity
A single severity level applied to allbalance_drop alerts for this configuration.
Internal errors (e.g. RPC failures during balance resolution) always emit at a fixed severity of
0.7 (High), regardless of this setting.