Get network status

GET/v1/status

TSCScan API v1.0.0 · Network · also at /api/v1/mainnet/status

Chain-dependent response; compact chain headers identify the serving snapshot.

Example

curl 'https://api.tensorcash.org/v1/status'

Parameters

No parameters.

Responses

StatusDescriptionBody
200Successful read from one Indexer snapshot
400Invalid argument or page conditions
401Authentication required
403Permission denied
404Absent in a ready indexed range
409Verified chain continuity invalidation
422Bounded response would exceed byte budget
429Quota exceeded; Retry-After supplied
503Data or eligible source not ready
504Bounded upstream query timed out

Schemas

StatusResponse

FieldTypeRequiredDescription
dataNetworkStatusYesThe requested resource or collection; its schema is specific to this endpoint.

NetworkStatus

FieldTypeRequiredDescription
network"mainnet" | "testnet"YesNetwork selected by this API deployment.
observed_header_heightinteger | nullYesFresh Core header height. Headers ahead of blocks indicate that Core itself has not caught up, even when the Indexer matches Core.
core_initial_block_downloadboolean | nullYesFresh Core initial-block-download flag. Null when unavailable; wallet clients must not assume synchronized spending.
sync_state"ready" | "catching_up" | "upstream_unavailable" | "maintenance" | "unavailable"YesIndexer state: ready, catching_up, upstream_unavailable, maintenance or unavailable. upstream_unavailable keeps the committed indexed snapshot readable while current Core height is unknown.
observed_core_heightinteger | nullYesLast successfully observed Core chain height; null while Core cannot be observed.
last_core_poll_atstring (date-time) | nullYesUTC RFC 3339 timestamp of the last successful Core observation; null when unavailable.
coverageobjectYesIndexed coverage for this module or sampled chart series; incomplete data is explicit.

ModuleCoverage

FieldTypeRequiredDescription
state"complete" | "partial" | "unsupported"YesAvailability or confirmation state. Use the declared enum/constant; unknown or unavailable never means numeric zero.
through_heightinteger | nullYesHighest canonical height covered by this module; -1 means no indexed coverage.
scope"chain_wide" | "current_state" | "wallet_scoped" | "none"YesCoverage scope. chain_wide means every required block from genesis through the reported height.

Problem

FieldTypeRequiredDescription
typestringYesProblem type URI; about:blank is used for the current error family.
titlestringYesShort human-readable problem title, normally the stable error code.
statusintegerYesHTTP status code for this problem response.
code"INVALID_ARGUMENT" | "UNAUTHORIZED" | "FORBIDDEN" | "RESOURCE_NOT_FOUND" | "CHAIN_ANCHOR_INVALIDATED" | "RATE_LIMITED" | "DATA_NOT_READY" | "SERVICE_UNAVAILABLE" | "UPSTREAM_TIMEOUT" | "RESPONSE_TOO_LARGE" | "CORE_UNAVAILABLE" | "CORE_METHOD_UNAVAILABLE" | "CORE_DATA_NOT_READY" | "CORE_CAPACITY" | "TRANSACTION_CAPACITY" | "TRANSACTION_STATE_CHANGED" | "TRANSACTION_REJECTED" | "BROADCAST_OUTCOME_UNKNOWN" | "UNSUPPORTED_ASSET_POLICY"YesStable machine-readable error code; use this instead of matching message text.
request_idstringYesIdentifier also supplied in X-Request-ID; include it when reporting an error.
detailstring—Human-readable explanation of the error.
retry_after_secondsinteger—Suggested wait in seconds before retrying; where present, agrees with Retry-After.
Source
TSCScan public API v1.0.0 (12f98c5) · rHuhu · MIT