Address UTXOs

GET/esplora/api/address/{key}/utxo

Wallet API v1.0.0 · Addresses

Unspent outputs, unconfirmed first. Outputs already spent in the mempool are left out. An address with more than 5000 unspent outputs gets 400.

Example

curl 'https://api.tensorcash.org/esplora/api/address/tc1qmvalge7mnhct9qj5uua8rn0dmjcyh6fmvrr46j/utxo'

Parameters

NameInTypeRequiredDescription
keypathstringYesTensorCash address.

Responses

StatusDescriptionBody
200Unspent outputs
  • application/json Utxo[]
400Invalid address, or Too many unspent transaction outputs (>5000)
  • text/plain string
422Validation Error
503Index syncing: n/m
  • text/plain string

Schemas

Utxo

FieldTypeRequiredDescription
txidstringYes
voutintegerYes
statusTxStatusYes
valueintegerYesSatoshis.

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