Last updated 10 months ago
Can be used to query the creation and transfer events of text-type inscriptions to resolve various inscription protocols.
Get inscription events
Successful operation
"OK"
const response = await fetch('https://open-api.unisat.io/v1/indexer/inscription/events?start=0&end=0&cursor=0&size=0', { method: 'GET', headers: {}, }); const data = await response.json();
{ "code": 0, "msg": "OK", "data": { "cursor": 0, "total": 0, "detail": [ { "isTransfer": false, "inscriptionId": "text", "inscriptionNumber": 0, "address": "text", "contentBody": "text", "contentType": "text", "inSatoshi": 0, "outSatoshi": 0, "pkScript": "text", "satoshi": 0, "timestamp": 0, "txid": "text", "i": 0, "vout": 0, "sequence": 0, "height": 0, "txidx": 0 } ] } }