Get network overview

GET/v1/network/overview

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

One bounded indexed snapshot, at most 51 block rows. Shared cached payload, 500 ms maximum age, invalidated by committed tip/reorg changes. Equivalent concurrent misses coalesce. Market refresh runs independently. No query parameters.

Example

curl 'https://api.tensorcash.org/v1/network/overview'

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

NetworkOverviewResponse

FieldTypeRequiredDescription
dataNetworkOverviewYesOperation result.

NetworkOverview

FieldTypeRequiredDescription
network"mainnet" | "testnet"YesSelected deployment network.
status"ready" | "catching_up" | "upstream_unavailable"YesSynchronization relative to a fresh Core observation. upstream_unavailable means Core height is unknown; indexed chain data remains valid at height/hash.
heightintegerYesCommitted indexed height used by all chain fields.
hashstringYesIndexed tip hash.
core_heightinteger | nullYesFresh observed Core height; null when the upstream observation has expired or failed. Null when unavailable.
latest_block_timeintegerYesIndexed tip timestamp in Unix seconds.
base_difficultystring | nullYesLatest block base target-derived work, in expected proofs. Null when unavailable.
effective_difficultystring | nullYesLatest block effective target-derived work after model/Proof adjustments. Null when unavailable.
confirmed_transactionsintegerYesConfirmed transaction count, including coinbases.
inferenceobjectYesInference speed estimate.
hashrateobjectYesNetwork effective proof rate.
average_block_time_50objectYes50-block average interval.
rewardRewardStatisticsYesCurrent base subsidy schedule; next reduction uses Core 3/5 recurrence, not a literal 50% halving.
latest_blocksOverviewBlock[]YesAt most ten latest canonical blocks from the same committed snapshot.
time_since_last_block_secondsintegerYesSeconds since latest indexed block at as_of_unix.
as_of_unixintegerYesOverview assembly time; clock-derived fields cached for at most 500 ms.
marketOverviewMarket | nullYesOptional separate market adapter snapshot; null if disabled, unavailable or expired. Null when unavailable.

OverviewRatio

Readable decimal string. Finite ratios retain all digits; only repeating decimals are rounded half away from zero to 12 places. Trailing zeroes are omitted. No floating-point intermediate is used.

Type: string

RewardStatistics

TensorCash Core subsidy recurrence at the indexed tip. Amounts are exact 8-decimal TSC base-unit strings; terminal zero has no next epoch or time estimate.

FieldTypeRequiredDescription
heightintegerYesZero-based canonical block height.
terminalbooleanYesWhether the subsidy has reached zero and no future reward epoch exists.
current_reward_unitsstringYesExact base block subsidy at this height, in TSC smallest units; transaction fees are excluded.
next_reward_unitsstringYesExact next-epoch base subsidy in TSC smallest units.
epoch_start_heightinteger | nullYesFirst height in the current reward epoch; null in the terminal state.
epoch_length_blocksinteger | nullYesLength of the current reward epoch; null in the terminal zero-subsidy state.
epoch_progressRewardEpochProgress | nullYesElapsed fraction of the current reward epoch, e.g. '0.5' means 50%; null in the terminal state. Finite ratios are exact; only repeating decimals are rounded half away from zero to 12 places.
next_reduction_heightinteger | nullYesHeight at which the next subsidy epoch begins; null in the terminal state.
blocks_remaininginteger | nullYesBlocks until the next subsidy reduction; null after the subsidy becomes zero.

RewardEpochProgress

Readable decimal string. Finite ratios retain all digits; only repeating decimals are rounded half away from zero to 12 places. Trailing zeroes are omitted. No floating-point intermediate is used.

Type: string

OverviewBlock

FieldTypeRequiredDescription
heightintegerYesCanonical block height.
hashstringYesCanonical block hash.
timeintegerYesHeader time in Unix seconds.
tx_countintegerYesBlock transactions including coinbase.
minerstring | nullYesAttributed coinbase payout address. Null when unavailable.
age_secondsintegerYesSeconds since header timestamp at as_of_unix, clamped to zero.

OverviewMarket

FieldTypeRequiredDescription
pair"TSC/USDT"YesTrading pair.
price_usdtstringYesExact observed market price in USDT per TSC.
price_change_percent_24hstring | nullYesReported 24-hour percentage change. Null when unavailable.
volume_24h_usdtstring | nullYesReported 24-hour quote volume. Null when unavailable.
volume_24h_tscstring | nullYesReported 24-hour base volume. Null when unavailable.
sourcestring | nullYesMarket adapter source label. Null when unavailable.
observed_at_unixintegerYesSource price observation time.

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