QuaiWhale logo
QuaiWhale
On-chain

Quai Network Data

Tracks Quai blocks, transfers, whale activity, alerts, shard statistics, and mining rewards.

Live
Runtime key
main_poller
Railway process
worker
Required production process
Last heartbeat
Jul 31, 2026, 12:41:58 a.m.
UTC
Last successful cycle
Jul 31, 2026, 12:41:22 a.m.
UTC
Runtime status
completed
Next scheduled run
Not available
No next_run_at exposed
Last cycle duration
10s
Completed Jul 31, 2026, 12:41:22 a.m. UTC
Process started
Jul 31, 2026, 12:32:58 a.m.
UTC
Current runtime snapshot

Point-in-time operational summary

This worker exposes a current loop-state record in this view. No multi-run history is requested or inferred.

Live
Runtime status
completed
Next scheduled
Not available
Checkpoint fields
1
Metadata fields
1
Exact data chain

Input to product surface

required process
Step 1Input
Quai shard providers

Reads every configured shard through the quais provider, then the bounded JSON-RPC block and log scanner when provider data is empty or unavailable.

Step 2Discovery
Shard snapshot and whale discovery

Normalizes blocks, transfers, balances, mining rewards, and discovered whale addresses while preserving the last successful shard checkpoint.

Step 3Interpretation
Validate and interpret activity

Rejects invalid transfers, builds local interpretation context, produces alerts, and derives canonical investigation candidates.

Step 4Persistence
Persist on-chain records

Writes addresses, transfers, mining reward observations, shard statistics, alerts, investigation state, and shard ingestion checkpoints.

Step 5Product
Publish QuaiWhale intelligence

Powers Overview, network activity, live signals, mining activity, whale tables, and optional Ably exchange-pressure events.

Required dependencies

The chain cannot produce its canonical output without these dependencies.

Quai RPC endpoints

Configured per active shard for block, transaction, receipt, balance, and log reads.

Supabase service role

Required for ingestion state, canonical data, alerts, and investigation persistence.

Secondary and fallback paths

Recovery, enrichment, transport, or coordination paths that do not replace the canonical source of truth.

quais provider

Preferred high-level shard snapshot path before the direct RPC scanner.

Explorer fallback

Used only when provider and RPC scans cannot return meaningful live data.

Ably publisher

Optional publish path for exchange-pressure transfer events.

Storage contract

Tables read or written by this worker chain.

Swipe horizontally to inspect all columns

TablePurpose
addressesWhale and reconciled address records.
transfersValidated Quai and Qi transfer history.
quai_mining_reward_observationsCanonical mining reward observations.
shard_statsPer-shard activity snapshots.
alertsDeterministic alert rows and interpreted signals.
investigationsCanonical investigations created from new alerts.
worker_state / shard_ingestion_statusPer-shard block checkpoints and attempt/success health.

Product outputs

User-facing workspaces directly powered by this chain.

Runtime checkpoint

Latest scanned block by shard

Cyprus 1
9 310 263

Cycle metadata

Supported Shard Count
1

Implementation map

Primary repository files implementing this worker chain and its product read path.

worker/poller.js
worker/poller/orchestrator.js
worker/poller/persistence.js
worker/poller/persistence-writes.js