Skip to main content
Most-liquidated wallets on a BTC chart

BTC on 15-minute bars in the 0xArchive Terminal, 2026-10-15.

Open on a chart

Load it on BTC 15m in the terminal, then change its settings or open it in the script editor.
Hyperliquid names the liquidated wallet on every liquidation, and 0xArchive keeps it. This script ranks the wallets liquidated for the most over the last 7 days, in a table: the USD liquidated, how many separate liquidations, and the side. On the chart, a bar where one wallet lost $1M or more is marked with that wallet. Rest the pointer on a wallet in the table for its full address.

How it works

liquidations() delivers each liquidation to onLiquidation, with its user. The totals per wallet live in state.map with the 'live' lifetime, because an event handler may change only tallies and live state. One position is often liquidated in several fills a moment apart, so fills of one wallet within a minute count as one liquidation. The table is drawn only on the newest bar (chart.isLast), where the totals are complete. On Lighter the liquidated account is an index, not a wallet, and it is listed as it is.

Try changing

  • Follow particular wallets: add input.addresses and skip the others in onLiquidation, as Liquidations does.
  • Lower Mark a wallet from to see smaller accounts.

The script

liquidated-wallets.ts

Next step

See the next example, Liquidation levels ahead.
Last modified on October 16, 2026