A lightning-fast ClickHouse stack for Avalanche C-Chain analytics
# clone
git clone https://github.com/fulgur-labs/cchain-explorer.git
cd cchain-explorer
# build & run everything
docker compose up -d --build
# watch logs
docker compose logs -f realtime # or api / clickhouse
# interact with the API
curl --location 'http://localhost:3000/address/0x995BE1CA945174D5bA75410C1E658a41eB13a2FA/txs?limit=1000&block_after=51339641&tx_after=0'| Method & Path | Query Params | Description |
|---|---|---|
GET /address/:addr/txs |
limit (50), block_after, tx_after |
Paginated list (in/out) sorted by (block_number, tx_index) |
GET /address/:addr/count |
โ | Total tx count for an address |
GET /txs/by_value |
limit (50), offset (0) |
Global ranking by value |