Algorand OG Governor NFT
Received Algorand Governor NFT from Pera Wallet, trying to figure out how is the NFT meta data saved.
Algorand NFT is an ASA
First of all, the NFT is still an asset, take the OG Governor NFT for example, its asset ID is 727568596, the decimal is 0 and the total supply is 4368, which I am assuming there are 4368 users locked more than 10k algos in the 2nd gov period. Getting this NFT is really Pera sent this mint Asset to your wallet. You can see some info about this ASA here: https://algoexplorer.io/asset/727568596
Get Asset Data
First let’s see its data, from the API here:
1 | https://algoindexer.algoexplorerapi.io/v2/assets?asset-id=727568596 |
we can get its info:
1 | { |
Its name is “OG Governor”, the unit-name is “oggov2”. The creator and manager’s address are the same, and there is not clawback or freeze address.
Get its meta info
Now it comes to the interesting part, its url: saved in IPFS:
1 | ipfs://QmXu9UYxfUF7Dm9LEbaUMWfpfvf3VwddvA4QZuxunNXk9P#arc3 |
If we follow this url, its content actually saved some meta data:
1 | { |
Basically this contains some info we already saw in the asset info, plus some image info: it contains a static image and an animation image (actually it is a 3D model file in .gltf format), both are saved in the IPFS.
View the NFT image and 3D model
To view the static image, it is “ipfs://QmUwC4PqcjgJtFw6yudMfJKxnJraYLUhuUfysz4tzSzrxX”, which we can visit via any ipfs http gateway, like:
https://cloudflare-ipfs.com/ipfs/QmUwC4PqcjgJtFw6yudMfJKxnJraYLUhuUfysz4tzSzrxX
The 3D modal one, “ipfs://QmSYGhQmCy5qyRjFX5oNSf1Bj3e9HFE7X2YqjiMmUkULmL”, or visit it via http gateway:
https://cloudflare-ipfs.com/ipfs/QmSYGhQmCy5qyRjFX5oNSf1Bj3e9HFE7X2YqjiMmUkULmL
if you visit it, your browser will ask for a download, you can save it as “nft.gltf” file, then open it with this site: https://gltf-viewer.donmccurdy.com/ :

While I am not familiar with the .gltf format, it seems this file enables background and it has 2 built-in background environment in it, one is “Venice Sunset”, the other is “Footprint Court”. It is cool to see this NFT card (3D model) being put with this background -> this may have lots of potentials in the future.