> For the complete documentation index, see [llms.txt](https://digital-matter-theory.gitbook.io/digital-matter-theory/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://digital-matter-theory.gitbook.io/digital-matter-theory/introduction/resources/rendering-a-unat.md).

# Rendering a UNAT

Rendering a UNAT is straightforward, allowing minimal data upload to Bitcoin while delivering high-impact results for platforms.

<figure><img src="https://4018966467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLpH8SbXLdOBdIHrvZyH%2Fuploads%2FhKMZ6RbuySg75nq6EerF%2FCleanShot%202024-09-02%20at%2014.31.10%402x.png?alt=media&amp;token=bd8fd550-359d-4200-9258-a897bb9f4d44" alt=""><figcaption></figcaption></figure>

**Steps for DMT on-chain preview renderer**

1. Retrieve deploy inscription id from the mint inscription content `https://ordinals.com/content/${MINT_INSCRIPTION_ID}`
2. Fetch inscription data `https://api.hiro.so/ordinals/v1/inscriptions/${deployInscriptionID}`
3. Retrieve deploy sat number `sat_ordinal`
4. Fetch deploy sat data `https://api.hiro.so/ordinals/v1/sats/${deploySatNumber}`
5. Retrieve latest deploy reinscription id from sat data `sat.inscription_id`
6. Fetch latest deploy content `https://ordinals.com/content/${deployLatestID}`
7. Retrieve the "id" field from deploy inscription for the latest preview script
8. Fetch preview script content `https://ordinals.com/content/${previewInscriptionID`
9. Inject recursion by replacing `/content/` strings with desired ord server ex: `https://ordinals.com/content/`
10. To render results place resulting content into an `<iframe>` via the `srcdoc` parameter
