Get Tx Inputs
get
Get the inputs of a tx.
Authorizations
Path parameters
txidstringRequired
Tx id
Query parameters
cursorintegerRequiredExample:
Start offset
0
sizeintegerRequiredExample:
Number of items returned
16
Responses
200
Successful operation
application/json
401
Invalid API Key
get
GET /v1/indexer/tx/{txid}/ins HTTP/1.1
Host: open-api.unisat.io
Authorization: Bearer JWT
Accept: */*
{
"code": 0,
"msg": "OK",
"data": {
"address": "text",
"codeType": 0,
"inscriptions": [
{
"inscriptionId": "text",
"inscriptionNumber": 1,
"isBRC20": true,
"moved": true,
"offset": 1
}
],
"satoshi": 1,
"scriptPk": "text",
"scriptSig": "text",
"scriptType": "text",
"scriptWits": "text",
"sequence": 1,
"height": 1,
"txid": "text",
"idx": 1,
"heightTxo": 1,
"utxid": "text",
"vout": 1
}
}
Last updated