chain-overview

Exact captured content · path skills/chain-overview/SKILL.md · sha256 1132e52923751aa7… · revision 1a99e5086c3c4c4de95f32b5ff67e31e043aee77

Download the exact captured file

---
name: chain-overview
description: >-
  Shows a chain's last 24 hours from Chord's own index of every DEX trade: dollars traded, trades, tokens traded,
  wallets, the venues that carried it with their share, the most traded tokens, the biggest risers and fallers, and
  the dollars hour by hour. Optional venue share over up to 30 days. Without a chain, ranks every chain Chord indexes
  by dollars traded. Covers Solana, Base, BNB Chain, Ethereum, Robinhood Chain, Arbitrum, Avalanche, Arc and Monad. Use
  when the user asks how busy a chain is, which DEX leads on a chain, what trades on it today, or how chains compare
  by volume. Not for one token's safety, a wallet's history, or other chains. 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/chain-overview
  version: "1.0.0"
---

# Chain Overview

A chain's day as Chord's own trade index sees it, rebuilt every minute. Totals count every DEX trade Chord indexed on
the chain (above a floor on some chains: `minTradeUsd`). On Solana Chord reads 11 venues (pump.fun, PumpSwap,
Meteora, Raydium, Orca), not prop AMMs or order books, so SOL and major pairs show less than the whole market. Monad
has no venue split and no wallet count. The top tokens are the chain's board (screened wash volume and stablecoins
left out), so they do not add up to the total; the rest is returned as one figure.

## Run it

```bash
python3 scripts/chain_overview.py [CHAIN] [--days N] [--limit N]
```

- `CHAIN`: `solana`, `base`, `bnb`, `ethereum`, `robinhood`, `arbitrum`, `avalanche`, `arc` or `monad` (or a chain id).
  Leave it out to rank every chain.
- `--days N`: also the venue share over the last N UTC days, 1 to 30 (one more call; not on Monad or Solana).
- `--limit`: top tokens and venues listed (default 10, max 30).

Example: `python3 scripts/chain_overview.py base --days 7`

## Read the answer

- Every chain (no `CHAIN`): `chains` ranked by `volumeUsd`, each with `sharePct` (of all chains listed, percent),
  `trades`, `tokens`, `venues`, `walletsLastUtcDay` and `topToken`. null = that chain's index does not count it.
- One chain: `volumeUsd`, `trades`, `tokens`, `venueCount` over the last 24 hours; `walletsLastUtcDay` = distinct
  wallets on the last whole UTC day; `minTradeUsd` = trades below it are not indexed (0 = all).
- `venues`: up to six, each `dex` (Chord's venue id, for example `uniswap_v3`; `v3fork_<8hex>` is an unnamed fork
  keyed by its factory), `volumeUsd`, `trades`, `sharePct` (percent of the chain's dollars).
- `topTokens`: `volumeUsd`, `sharePct` of the chain's dollars, `change24hPct`, `buySharePct` (percent of dollars that
  were buys). `gainers` / `losers`: the biggest moves on real volume. `signals`: tokens where buyers or sellers led.
- `hourlyUtc`: [hour start UTC, dollars] for the last 24 hours, the last hour still filling.
- `venueWindow` (with `--days`): each venue's dollars and share over the window, with `dailyUtc` for the top five.
- `asOf`: when the figures were read, UTC.

## How to answer the user

1. Lead with the day's dollars and trades, with units ("$935M across 1.65M trades in the last 24 hours on Base"), and
   the time it is from.
2. Then where it traded (top venues and their share) and what traded (top tokens, notable movers).
3. Say what the index does not see when it matters (Solana's prop AMMs, a chain's trade floor, Monad's missing split).
4. Describe activity; do not call it bullish or bearish and give no price targets.

## Cost

One call; `--days` adds one. 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.