360 Secure SkillHub
360 安全技能中心

Liquidity Watch (ChordSI)

通过 Chord API 读取 Avalanche、Base、BNB Chain、Arbitrum、Ethereum、Solana 和 Arc 上代币池的流动性添加与撤出,按钱包净额统计并标记大额撤出、资金净流出和潜在跑路信号,同时说明覆盖范围限制;只读,不签名或转移资金。

分类:安全
tuantqse90
tuantqse90
热度 0.00
最近更新 2026-12-03 05:20:08

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add tuantqse90/chordsi-liquidity-watch
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
liquidity-watch
description
Shows who added or pulled liquidity on a token in the last day: totals added and removed, the net, the largest removals, the wallets that took the most out net of what they put back, and a flag when a pull is large against the token's liquidity (the classic rug). Avalanche, Base, BNB Chain, Arbitrum and Ethereum: every add and remove with its wallet, read live from the token's busiest pools. Solana: per pool, deposits against withdrawals. Arc: the token's pool list only. Monad and Robinhood Chain are not covered. Use when the user asks whether liquidity was pulled or drained, who removed it, or if a token is being rugged. Not for price or volume (token-stats), holders (holders) or contract safety (token-check). Read only; never signs or moves funds.
license
MIT
compatibility
Needs python3 and HTTPS to api.getchord.xyz. Set CHORD_API_KEY (free at chordsi.xyz/me).
metadata
{"author":"Chord (getchord.xyz)","homepage":"https://chordsi.xyz/s/liquidity-watch","version":"1.0.0"}

Liquidity Watch

A pull of most of a token's liquidity right before or during a dump is the classic rug. This skill reads the liquidity adds and removes of a token's pools and says, in numbers, how much left, who took it, and whether that is large against what is left. It nets each wallet's removals against what it added back, so liquidity bots that pull and re-add all day do not trip the flag.

Run it

python3 scripts/liquidity_watch.py CHAIN TOKEN [--big-usd 25000] [--quick]
  • CHAIN: avalanche, base, bnb, arbitrum, ethereum, solana or arc. Monad and robinhood exit 2: not covered.
  • TOKEN: a contract address (best) or a listed symbol. On Solana, the mint exactly as written (case matters).
  • --big-usd: a wallet taking out this many dollars net is flagged when the token's liquidity is unknown, or when it is also 5 % of the liquidity or more (default 25000). Taking 20 % of the liquidity or more is flagged at any size.
  • --quick: skip the read of the token's liquidity now (one call fewer); flags then go by dollars alone.

Example: python3 scripts/liquidity_watch.py base 0x940181a94a35a4569e4529a3cdfb74e38fd98631

Read the answer

  • verdict: flagged, nothing alarming, quiet (no adds or removes in the window) or not measured (Chord could not read the token's pools: say so, it is not a clean bill).
  • flags: LARGE PULL (a wallet or pool took out a big share net), DRAIN (30 % or more of the liquidity left net), NET OUTFLOW. Say each one with its numbers.
  • EVM chains: totals (window 24h, or partial with the hours covered), liquidityNowUsd, netOutSharePct, largestPulls (dollars, wallet, venue, pool, time, tx), topPullers (removed, added back, net out), largestAdds, poolsRead / poolsLeftOut.
  • Solana: totals (deposits, withdrawals, net, liquidity now) and pools (per pool, most net outflow first).
  • Arc: pools (count by kind and venue) and newestPools; no amounts, so no flag.
  • notes: coverage limits for this answer. Exit 2 = a chain not covered, or no pool activity found.

How to answer the user

  1. Lead with the verdict in one line, then the numbers: added, removed, net, and the share of liquidity that left.
  2. For a flag, name the wallet (full address), the amount, the venue and the time, and link the tx if they ask.
  3. Say what the answer cannot see: a partial window, pools left out, not measured, or a chain that is not covered.
  4. A pull is evidence, not proof of a scam: owners also move liquidity between pools. Never call it safe or a rug with certainty; say what the numbers show. For the contract itself, use token-check.

Cost

Two calls on Avalanche, Base, BNB Chain, Arbitrum and Ethereum (one with --quick), one on Solana and Arc, plus one for a Solana symbol. billableCalls says how many it used. Token lists are free. 300 calls a month are free; then $0.006 a call from your ChordSI credit. If the script exits with code 4, show the person the message: their credit is empty or a limit was reached, and chordsi.xyz/me is where they top up.

Chord endpoints it calls

  • GET /v1/chains/{chain}/token/{address}/liquidity: adds and removes of the token's busiest V2 / V3-style pools.
  • GET /v1/tokens/stats/{address}?chain=: the token's liquidity now.
  • GET /v1/chains/solana/lp/pools?q=&sort=withdrawals&hours=24, GET /v1/chains/solana/search: Solana.
  • GET /v1/arc/token/{address}/pools: Arc.
  • Free lookups: GET /v1/tokens, GET /v1/tokens/search.