List address transactions

GET/v1/addresses/{address}/transactions

TSCScan API v1.0.0 · Addresses · also at /api/v1/mainnet/addresses/{address}/transactions

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

Example

curl 'https://api.tensorcash.org/v1/addresses/tc1qmvalge7mnhct9qj5uua8rn0dmjcyh6fmvrr46j/transactions'

Parameters

NameInTypeRequiredDescription
addresspathstringYesExact TensorCash address on the selected network; aliases are not accepted here.
min_heightqueryinteger—Optional minimum serving indexed height. Returns DATA_NOT_READY if no eligible source has reached it.
limitqueryinteger—Default 25; server may apply a smaller resource cap.
pagequeryinteger—One-based page number, default 1. Responses include number, limit, total and total_pages. Preserve the filters and limit when changing page.

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

AddressActivityPage

FieldTypeRequiredDescription
dataAddressActivity[]YesThe requested resource or collection; its schema is specific to this endpoint.
pagePageInfoYesPagination metadata separate from resource rows.

AddressActivity

Historical membership and delta; no changing balance or confirmation count.

FieldTypeRequiredDescription
txidstringYes64-character hexadecimal transaction ID; searches accept either case.
block_heightintegerYesZero-based height of the containing canonical block; null for pending activity where allowed.
block_hashstringYesHash of the containing canonical block.
positionintegerYesZero-based transaction position in its containing block.
deltaAmountYesSigned received-minus-sent quantity in smallest units.
timeinteger—Unix timestamp in seconds; mempool items use Core arrival time and confirmed items use block time.
is_coinbaseboolean—Whether this transaction or input is a coinbase reward.
feeAmount—Exact input total minus output total; null for coinbase where specified, otherwise unknown if prevouts are unavailable.
receivedAmount—Exact quantity received by this address in smallest units.
sentAmount—Exact quantity spent by this address in smallest units.
from_addressesAddressFlow[]—At most two source-address summaries; the current address is shown first when present.
to_addressesAddressFlow[]—At most two destination-address summaries; the current address is shown first when present.
from_address_countinteger—Number of distinct attributed source addresses, including those omitted from the compact summary.
to_address_countinteger—Number of distinct attributed destination addresses, including those omitted from the compact summary.

KnownAmount

FieldTypeRequiredDescription
unitsstringYesExact decimal string in smallest units; signed where the schema permits. Divide by 10^precision only for display.
precisionintegerYesDecimal places for the smallest-unit amount. TSC uses 8; assets use their indexed precision.

UnknownAmount

FieldTypeRequiredDescription
state"unknown"YesAvailability or confirmation state. Use the declared enum/constant; unknown or unavailable never means numeric zero.
unitsnullYesExact decimal string in smallest units; signed where the schema permits. Divide by 10^precision only for display.
precisioninteger | nullYesDecimal places for the smallest-unit amount. TSC uses 8; assets use their indexed precision.

UnavailableAmount

FieldTypeRequiredDescription
state"unavailable"YesAvailability or confirmation state. Use the declared enum/constant; unknown or unavailable never means numeric zero.
unitsnullYesExact decimal string in smallest units; signed where the schema permits. Divide by 10^precision only for display.
precisioninteger | nullYesDecimal places for the smallest-unit amount. TSC uses 8; assets use their indexed precision.

AddressFlow

FieldTypeRequiredDescription
addressstringYesChain address text; null represents an unattributed output where allowed.
valueAmountYesExact observed value or attributed input/output quantity. Null accompanies an unknown, unavailable or unsupported state where declared.

PageInfo

Numbered 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.

FieldTypeRequiredDescription
limitintegerYesRequested maximum number of rows in this page.
numberintegerYesOne-based requested page number, default 1.
totalintegerYesExact number of rows in the collection at the selected snapshot.
total_pagesintegerYesNumber of numbered pages, with a minimum of 1 for an empty collection.

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