Uploads metadata. After uploading the metadata, it returns an externally accessible public URI for that metadata.
Note
The URI in the response looks like this:
https://metadata-store.klaytnapi.com/{storage-id}/{fileName}
.
{storage-id}
(UUID) is an identifer automatically given to each user.- With no
fileName
: .../{storage-id}/{assetId}.json
- With
fileName
(example:haha.json
): .../{storage-id}/haha.json
Your request was successful.
The request is not valid.
{- "metadata": {
- "name": "Puppy Heaven NFT",
- "description": "This is a sample description",
}
}
{- "filename": "4f9asvf2f5-02d0-5b86-4f99-50acds269c8a.json",
- "contentType": "application/json",
}