Rendering a UNAT
Rendering a UNAT is straightforward, allowing minimal data upload to Bitcoin while delivering high-impact results for platforms.
Last updated
Rendering a UNAT is straightforward, allowing minimal data upload to Bitcoin while delivering high-impact results for platforms.
Last updated
Steps for DMT on-chain preview renderer
Retrieve deploy inscription id from the mint inscription content https://ordinals.com/content/${MINT_INSCRIPTION_ID}
Fetch inscription data https://api.hiro.so/ordinals/v1/inscriptions/${deployInscriptionID}
Retrieve deploy sat number sat_ordinal
Fetch deploy sat data https://api.hiro.so/ordinals/v1/sats/${deploySatNumber}
Retrieve latest deploy reinscription id from sat data sat.inscription_id
Fetch latest deploy content https://ordinals.com/content/${deployLatestID}
Retrieve the "id" field from deploy inscription for the latest preview script
Fetch preview script content https://ordinals.com/content/${previewInscriptionID
Inject recursion by replacing /content/
strings with desired ord server ex: https://ordinals.com/content/
To render results place resulting content into an <iframe>
via the srcdoc
parameter