Explorer
Aggregated network statistics including active nodes, job count, and total staked.
Returns high-level metrics for the CompressNode network, sourced from on-chain contract reads. Active node count comes from the NodeRegistry, and the job count is derived from the JobRegistry's next job ID. Responses are cached for 30 seconds with a 60-second stale-while-revalidate window.
Endpoint
GET
/api/explorer/statsResponse
Example Usage
Response
{
"ok": true,
"data": {
"totalNodes": 127,
"activeJobs": 4281,
"totalStaked": "0"
}
}