Transaction status

GET/esplora/api/tx/{txid}/status

Wallet API v1.0.0 · Transactions

Whether the transaction is confirmed, and in which block. A wallet polls it after broadcast. 404 means the transaction is neither in the chain nor in the mempool (replaced or evicted).

Example

curl 'https://api.tensorcash.org/esplora/api/tx/edf886b19fe4bc2e9d2bd2cc690836d569984acc0dca1592c606f93978841e9f/status'

Parameters

NameInTypeRequiredDescription
txidpathstringYesTransaction id, 64 hex characters.

Responses

StatusDescriptionBody
200Status
400Invalid txid
  • text/plain string
404Transaction not found
  • text/plain string
422Validation Error
503Index syncing: n/m
  • text/plain string

Schemas

TxStatus

FieldTypeRequiredDescription
confirmedbooleanYesFalse while the transaction is in the mempool.
block_heightinteger—Confirmed only.
block_hashstring—Confirmed only.
block_timeinteger—Block timestamp, Unix seconds. Confirmed only.

ValidationError

FieldTypeRequiredDescription
locstring | integer[]Yes
msgstringYes
typestringYes
Source
tensorcash-wallet-api (tensorcash-api) v1.0.0 (772799e) · bobponey · MIT