get_hacks
DeFi hack / exploit loss events, plus a reference set of major TradFi banking losses (the dataset behind pigi.finance/hacks). Each event has a date, the protocol or institution, the USD amount lost, and — for DeFi — a type saying what kind of protocol was hit. The summary in the response totals the ENTIRE filtered set (count + total_amount_hacked + date range), so for "how much was lost in X" read summary rather than paging through every event.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_hacks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Only events on/before this date (YYYY-MM-DD, inclusive). | |
| from | No | Only events on/after this date (YYYY-MM-DD). | |
| sort | No | date_asc (default), date_desc, amount_desc, amount_asc. | |
| type | No | What kind of protocol was hit: DeFi (lending, yield, staking, stablecoins), Dexes, or Bridges. DeFi events only — TradFi rows have no type, so this excludes them. | |
| limit | No | Page size (default 25). | |
| offset | No | Pagination offset (default 0). | |
| category | No | defi, tradfi, or all (default all). | |
| min_amount | No | Only events at or above this USD amount. |