Last updated 2 months ago
Get the outputs of a tx.
Tx id
Successful operation
"OK"
const response = await fetch('https://open-api-fractal.unisat.io/v1/indexer/tx/{txid}/outs?cursor=0&size=0', { method: 'GET', headers: {}, }); const data = await response.json();
{ "code": 0, "msg": "OK", "data": { "address": "text", "codeType": 0, "inscriptions": [ { "inscriptionId": "text", "inscriptionNumber": 0, "isBRC20": false, "moved": false, "offset": 0 } ], "satoshi": 0, "scriptPk": "text", "scriptType": "text", "height": 0, "txid": "text", "idx": 0, "heightSpent": 0, "txidSpent": "text", "vout": 0 } }