Spending anomaly check
wever_spending-anomaly-checkAgent Treasury: submit a list of transactions (amount, asset, counterparty, timestamp, category where given) with your stated budget rules: a per-transaction cap, per-counterparty or per-category caps per day, week, month or in total, and allowed counterparties or categories. The signed report flags every transaction that breaks a stated rule, every duplicate-looking payment (one counterparty, one amount, close timestamps) and every amount that is an outlier against the supplied set itself, each flag naming the rule or pattern and the transactions involved. Verdict rules_broken, patterns_found, rules_unconfirmed or no_flags. Live wallet activity is wever_wallet-statement. POST /api/spending-anomaly-check. Reads only the material in the call: no wallet, chain, market, bank or counterparty lookup, and no money movement. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-treasury-contract. Human page: https://weverlabs.com/agent-treasury/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Asset for transactions and caps that state none. | |
| label | No | Optional name recorded in the report. | |
| rules | No | Your stated budget rules. | |
| transactions | Yes | The transactions to check. | |
| duplicate_window_minutes | No | How close two payments to one counterparty for one amount must be to look duplicated. Defaults to 60. |