GET
/
tx
/
{txid}
/
outspends
Transaction Outspends
curl --request GET \
  --url https://xbt-mainnet.gomaestro-api.org/v0/esplora/tx/{txid}/outspends \
  --header 'api-key: <api-key>'
[
  {
    "spent": true,
    "txid": "1a2b3c...",
    "vin": 0,
    "status": {
      "confirmed": true,
      "block_height": 776300,
      "block_hash": "0000000000000000000b4d0a...",
      "block_time": 1686300000
    }
  },
  {
    "spent": false
  }
]

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

txid
string
required

The transaction ID (txid) to query.

Example:

"d78b1139140848e646cfd7eb95868d2e01c600c3922de88038c591d2fb55cf96"

Response

200
application/json

Spending status for each output in the transaction.

The response is of type object[].