Digital Matter Theory
  • Introduction
    • Digital Matter Theory
    • Digital Elements
      • .element Registry
      • Example Element
    • Non-Arbitrary Tokens (NATs)
      • Hybrid Token Model
      • NAT Deployment Format
      • NAT Minting
      • NAT Token Transfer
    • NAT Use Cases
      • $NAT (Method 1) - Live
      • $BMT (Method 3)
    • UNAT Use Cases
      • $dmt-natcats
      • $dmt-nat
    • Supported Token Protocols
      • TAP Protocol
    • Resources
      • FAQ
      • Videos
      • Guides
        • $BMT Blockdrop Claim
        • How to convert your NAT deployment into a UNAT (Reinscription Guide)
      • $NAT Mint Process
      • Rendering a UNAT
Powered by GitBook
On this page
  1. Introduction
  2. Resources

Rendering a UNAT

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

Previous$NAT Mint Process

Last updated 8 months ago

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