Skip to content
Chain 4441 · LiteForge TestnetHead#0
LitVM·Scan
Hard Money Web3 Explorer
API Reference

LitVM·Scan public APIs

Three lightweight JSON endpoints that augment the upstream Blockscout REST API. No auth required, no analytics, no tracking. All responses are JSON.

For the full historical / index API, use the upstream Blockscout v2 endpoints athttps://liteforge.explorer.caldera.xyz/api/v2/*.

GET/api/health

Live network health: RPC chain head vs Blockscout indexer head, lag, latency.

cache: no-store · always fresh
Example
curl https://your-deploy/api/health
Response
{
  "status": "ok" | "degraded" | "down",
  "rpc_head": 11500000,
  "indexer_head": 11499900,
  "lag": 100,
  "latency_ms": 250,
  "avg_block_time": 150,
  "ts": "2026-05-23T08:50:00.000Z"
}
GET/api/price

Live LTC / USD price from CoinGecko, including 24h change. zkLTC ≡ 1 LTC.

cache: 60 seconds server-side
Example
curl https://your-deploy/api/price
Response
{
  "ltc_usd": 51.99,
  "ltc_usd_24h_change": -4.33,
  "ts": "2026-05-23T08:50:00.000Z",
  "source": "coingecko"
}
GET/api/decode/[sig]

Resolve a 4-byte function or event selector to a human-readable signature. Falls back from openchain.xyz to 4byte.directory.

cache: 24 hours per selectorrate-limit: 60 req / minute / IP
Example
curl https://your-deploy/api/decode/0xa9059cbb
Response
{
  "name": "transfer",
  "full": "transfer(address,uint256)",
  "source": "openchain"
}

Error codes

StatusMeaning
200OK · JSON body returned
400Invalid input (e.g. malformed 4-byte selector)
429Rate-limited · Retry-After header indicates seconds to wait
5xxUpstream dependency failure · response includes error field