GET
/
tx
/
{txid}
/
outspend
/
{vout}
Transaction Outspend
curl --request GET \
  --url https://xbt-mainnet.gomaestro-api.org/v0/esplora/tx/{txid}/outspend/{vout} \
  --header 'api-key: <api-key>'
{
"spent": true,
"txid": "abcdef123456...",
"vin": 1,
"status": {
"confirmed": true,
"block_height": 786000,
"block_hash": "0000000000000000000abc...",
"block_time": 1700000000
}
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

txid
string
required

Transaction ID of the parent transaction.

Example:

"d78b1139140848e646cfd7eb95868d2e01c600c3922de88038c591d2fb55cf96"

vout
integer
required

The output index within the transaction.

Example:

0

Response

200
application/json

Spending status of the transaction output.

The response is of type object.