The following describes what is a valid Abstractii inscription
An Abstractii must be inscribed before the block 783098.
The sha256 hash of the Abstractii inscription content must be:
eaa87520ad421aa7bc40c43fd30d0beb8dd490cc4080a8945c86c715e7db2406
const crypto = require('crypto');
// run the ord explorer locally with command
// `ord server --http-port 8080`
const explorer = 'http://0.0.0.0:8080';
const inscriptionId = 'INSCRIPTION_ID';
const url = `${explorer}/content/${inscriptionId}`;
const abstractiiHash =
'eaa87520ad421aa7bc40c43fd30d0beb8dd490cc4080a8945c86c715e7db2406';
fetch(url)
.then((res) => res.text())
.then((text) => {
const hash = crypto.createHash('sha256').update(text).digest('hex');
console.log(hash === abstractiiHash);
})
.catch((err) => console.error('error:' + err));