Skip to content

andreaValenzi/cchain-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

C-Chain Explorer โ€“ Realtime Ingestion + API

A lightning-fast ClickHouse stack for Avalanche C-Chain analytics

๐Ÿš€ Quick start

# 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'

๐Ÿ”Œ Endpoints

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages