Store NFT Metadata on IPFS

Store NFT Metadata on IPFS
In this guide, we will look into how you can effortlessly store the metadata of an NFT on IPFS. Note that storing the metadata on IPFS will happen during the creation of the token-type (NFT tenplate).
📘Storing the metadata on IPFS will not allow you to update it in the future.
Prerequisutes
You already have an NFT collection (contract) created using the NFT-API. View the Getting Started guide if you haven't.
contractAddress: The public address of your contract.
Request Endpoint: reference
HTTP
POST /api/v2/token-types/creationsExample Request
We will use the create token-type endpoint and within the request body, we will specify the storage type for the metadata.
HTTP
Request Body
📘At the very end, in the
storageobject, we have defined the"type": "ipfs".
JSON
Response Body
JSON
Last updated