ProofStatisticsResponse
| Field | Type | Required | Description |
|---|---|---|---|
data | ProofStatistics | Yes | The requested resource or collection; its schema is specific to this endpoint. |
GET/v1/stats/proof
Chain-dependent response; compact chain headers identify the serving snapshot.
curl 'https://api.tensorcash.org/v1/stats/proof'| Name | In | Type | Required | Description |
|---|---|---|---|---|
min_height | query | integer | — | Optional minimum serving indexed height. Returns DATA_NOT_READY if no eligible source has reached it. |
| Status | Description | Body |
|---|---|---|
200 | Successful read from one Indexer snapshot | |
400 | Invalid argument or page conditions | |
401 | Authentication required | |
403 | Permission denied | |
404 | Absent in a ready indexed range | |
409 | Verified chain continuity invalidation | |
422 | Bounded response would exceed byte budget | |
429 | Quota exceeded; Retry-After supplied | |
503 | Data or eligible source not ready | |
504 | Bounded upstream query timed out |
ProofStatisticsResponse| Field | Type | Required | Description |
|---|---|---|---|
data | ProofStatistics | Yes | The requested resource or collection; its schema is specific to this endpoint. |
ProofStatisticsA partial coverage flag means these statistics include observed priced blocks only. Null prices never imply 1x.
| Field | Type | Required | Description |
|---|---|---|---|
coverage | object | Yes | Indexed coverage for this module or sampled chart series; incomplete data is explicit. |
priced_blocks | integer | Yes | Number of blocks with exact indexed Proof price evidence. |
v3_blocks | integer | Yes | Number of indexed blocks with Proof protocol version 3. |
v4_blocks | integer | Yes | Number of indexed blocks with Proof protocol version 4. |
above_2x | integer | Yes | Number of priced blocks whose exact Proof price exceeds 2. |
average_price_multiplier | AveragePriceRatio | null | Yes | Mean protocol Proof price multiplier for this block or work window; null means unavailable. Finite ratios are exact; only repeating decimals are rounded half away from zero to 12 places. |
median_price_multiplier | ExactPriceRatio | null | Yes | Median protocol Proof price multiplier; null means unavailable. Finite ratios are exact; only repeating decimals are rounded half away from zero to 12 places. |
max_price_multiplier | ExactPriceRatio | null | Yes | Maximum protocol Proof price multiplier; null means unavailable. Finite ratios are exact; only repeating decimals are rounded half away from zero to 12 places. |
latest | object | null | Yes | Latest indexed priced block and its Proof version/ratio; null when no priced block exists. |
AveragePriceRatioReadable 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
ExactPriceRatioReadable 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
Problem| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Problem type URI; about:blank is used for the current error family. |
title | string | Yes | Short human-readable problem title, normally the stable error code. |
status | integer | Yes | HTTP 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" | Yes | Stable machine-readable error code; use this instead of matching message text. |
request_id | string | Yes | Identifier also supplied in X-Request-ID; include it when reporting an error. |
detail | string | — | Human-readable explanation of the error. |
retry_after_seconds | integer | — | Suggested wait in seconds before retrying; where present, agrees with Retry-After. |