Get UTXO Info
get
Get the utxo info
Authorizations
Path parameters
txidstringRequired
Tx id
indexstringRequired
Tx id
Responses
200
Successful operation
application/json
401
Invalid API Key
get
GET /v1/indexer/utxo/{txid}/{index} HTTP/1.1
Host: open-api-fractal.unisat.io
Authorization: Bearer JWT
Accept: */*
{
"code": 0,
"msg": "OK",
"data": {
"txid": "text",
"vout": 0,
"satoshi": 10000,
"scriptType": "text",
"scriptPk": "text",
"codeType": 1,
"address": "text",
"height": 1,
"idx": 1,
"inscriptions": [
{
"inscriptionId": "text",
"inscriptionNumber": 1,
"isBRC20": true,
"moved": true,
"offset": 1
}
],
"isOpInRBF": false,
"isSpent": false
}
}
The return result of this UTXO interface will have three scenarios:
When UTXO has not been spent, it will return the information of this UTXO, and
isSpent
will be set to false.

When UTXO has been spent, but the transaction that spent it has not yet been confirmed, it will return the information of this UTXO, and
isSpent
will be set to true.

When UTXO has been spent and the transacted spend has been confirmed, it will return null.

Last updated