Get complete network-local mempool

GET/v1/mempool/feed

TSCScan API v1.0.0 · Mempool · also at /api/v1/mainnet/mempool/feed

Complete network-local Core observation, refreshed every five seconds, newest first. Every observed ID is returned without pagination. Missing total output is unavailable, never zero. Failed or stale observation is unavailable with null data. API response cache has a maximum 500 ms lifetime when the complete feed fits the cache item budget; oversized feeds bypass it without truncation. This feed is separate from confirmed history.

Example

curl 'https://api.tensorcash.org/v1/mempool/feed'

Parameters

NameInTypeRequiredDescription
min_heightqueryinteger—Optional minimum serving indexed height. Returns DATA_NOT_READY if no eligible source has reached it.

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

MempoolFeedResponse

FieldTypeRequiredDescription
dataMempoolFeedYesThe requested resource or collection; its schema is specific to this endpoint.

MempoolFeed

Complete network-local Core mempool observation, refreshed every five seconds and timed separately from confirmed chain state. All observed transaction IDs are included, newest first; transactions equals items.length. No pagination or sampling.

Type: object | object

MempoolFeedItem

One unconfirmed Core transaction. An unavailable output is not zero.

FieldTypeRequiredDescription
txidstringYes64-character hexadecimal transaction ID; searches accept either case.
timeintegerYesUnix timestamp in seconds; mempool items use Core arrival time and confirmed items use block time.
vsizeintegerYesCore virtual transaction size in bytes.
total_outputMempoolOutputYesExact sum of all outputs of this transaction in TSC smallest units; never a fiat value.

MempoolOutput

Type: object | object

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