AssetActivityPage
| Field | Type | Required | Description |
|---|---|---|---|
data | AssetActivity[] | Yes | The requested resource or collection; its schema is specific to this endpoint. |
page | PageInfo | Yes | Pagination metadata separate from resource rows. |
GET/v1/assets/{id}/activity
Chain-dependent response; compact chain headers identify the serving snapshot.
curl 'https://api.tensorcash.org/v1/assets/<id>/activity'| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Exact 64-character hexadecimal model or asset identifier; use the corresponding list to discover IDs. |
from_height | query | integer | — | Inclusive lower block height, default zero. Preserve when changing page. |
to_height | query | integer | — | Inclusive upper block height, default serving indexed tip. Must not be below from_height. Preserve when changing page. |
min_height | query | integer | — | Optional minimum serving indexed height. Returns DATA_NOT_READY if no eligible source has reached it. |
limit | query | integer | — | Default 25; server may apply a smaller resource cap. |
page | query | integer | — | One-based page number, default 1. Responses include number, limit, total and total_pages. Preserve the filters and limit when changing page. |
| 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 |
AssetActivityPage| Field | Type | Required | Description |
|---|---|---|---|
data | AssetActivity[] | Yes | The requested resource or collection; its schema is specific to this endpoint. |
page | PageInfo | Yes | Pagination metadata separate from resource rows. |
AssetActivityOne asset/transaction row. Net output increase is mint, decrease is burn, equal quantities are transfer. Outputs include change and are not a claimed payment amount.
| Field | Type | Required | Description |
|---|---|---|---|
asset_id | string | Yes | Asset identifier from the indexed protocol registration. |
block_height | integer | Yes | Zero-based height of the containing canonical block; null for pending activity where allowed. |
position | integer | Yes | Zero-based transaction position in its containing block. |
txid | string | Yes | 64-character hexadecimal transaction ID; searches accept either case. |
kind | "mint" | "burn" | "transfer" | Yes | Resolved resource type or observed protocol event type, as specified by this schema. |
inputs | Amount | Yes | Sum of this asset's units consumed by the transaction. |
outputs | Amount | Yes | Sum of this asset's output units, including sender change. |
minted | Amount | Yes | Net units minted by this asset transaction. |
burned | Amount | Yes | Cumulative asset units burned; for an activity row, the transaction's net burn. |
AmountExact smallest-unit decimal. Known zero is units '0'.
Type: KnownAmount | UnknownAmount | UnavailableAmount
KnownAmount| Field | Type | Required | Description |
|---|---|---|---|
units | string | Yes | Exact decimal string in smallest units; signed where the schema permits. Divide by 10^precision only for display. |
precision | integer | Yes | Decimal places for the smallest-unit amount. TSC uses 8; assets use their indexed precision. |
UnknownAmount| Field | Type | Required | Description |
|---|---|---|---|
state | "unknown" | Yes | Availability or confirmation state. Use the declared enum/constant; unknown or unavailable never means numeric zero. |
units | null | Yes | Exact decimal string in smallest units; signed where the schema permits. Divide by 10^precision only for display. |
precision | integer | null | Yes | Decimal places for the smallest-unit amount. TSC uses 8; assets use their indexed precision. |
UnavailableAmount| Field | Type | Required | Description |
|---|---|---|---|
state | "unavailable" | Yes | Availability or confirmation state. Use the declared enum/constant; unknown or unavailable never means numeric zero. |
units | null | Yes | Exact decimal string in smallest units; signed where the schema permits. Divide by 10^precision only for display. |
precision | integer | null | Yes | Decimal places for the smallest-unit amount. TSC uses 8; assets use their indexed precision. |
PageInfoNumbered pagination. Page defaults to 1. Totals and rows belong to the same database snapshot; current-state collections may move between requests. Empty collections have one page.
| Field | Type | Required | Description |
|---|---|---|---|
limit | integer | Yes | Requested maximum number of rows in this page. |
number | integer | Yes | One-based requested page number, default 1. |
total | integer | Yes | Exact number of rows in the collection at the selected snapshot. |
total_pages | integer | Yes | Number of numbered pages, with a minimum of 1 for an empty collection. |
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. |