AssetDetailResponse
| Field | Type | Required | Description |
|---|---|---|---|
data | AssetDetail | Yes | The requested resource or collection; its schema is specific to this endpoint. |
GET/v1/assets/{id}
Chain-dependent response; compact chain headers identify the serving snapshot.
curl 'https://api.tensorcash.org/v1/assets/<id>'| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Exact 64-character hexadecimal model or asset identifier; use the corresponding list to discover IDs. |
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 |
AssetDetailResponse| Field | Type | Required | Description |
|---|---|---|---|
data | AssetDetail | Yes | The requested resource or collection; its schema is specific to this endpoint. |
AssetDetail| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Canonical identifier of the requested or resolved resource. |
symbol | ObservedField | Yes | Observed asset ticker; unsupported or unavailable states are explicit. |
precision | ObservedPrecision | Yes | Decimal places for the smallest-unit amount. TSC uses 8; assets use their indexed precision. |
parent_id | ObservedOptionalId | Yes | Resolved root asset identifier for a child ticker, or explicit unknown/unsupported state. |
governance | ObservedField | Yes | Observed asset policy bitmask; unsupported or unavailable values are explicit. |
coverage | ModuleCoverage | Yes | Indexed coverage for this module or sampled chart series; incomplete data is explicit. |
policy_bits | integer | — | Raw on-chain asset permission bitmask. |
first_seen_height | integer | null | — | First indexed issuer registration height; null if unavailable. |
registration_txid | string | — | Latest issuer registration transaction. |
updated_height | integer | — | Height of the latest indexed asset registration. |
ObservedFieldExplicit status for protocol/Core-derived fields pending source validation.
Type: object | object | object
ObservedPrecisionType: object | object | object
ObservedOptionalIdNo parent is distinct from an unknown or unavailable parent source.
Type: object | object | object | object
ModuleCoverage| Field | Type | Required | Description |
|---|---|---|---|
state | "complete" | "partial" | "unsupported" | Yes | Availability or confirmation state. Use the declared enum/constant; unknown or unavailable never means numeric zero. |
through_height | integer | null | Yes | Highest canonical height covered by this module; -1 means no indexed coverage. |
scope | "chain_wide" | "current_state" | "wallet_scoped" | "none" | Yes | Coverage scope. chain_wide means every required block from genesis through the reported height. |
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. |