Upload JSON Uri Data To IPFS
Request
try {
const apiProtocol = nft2Client.getAPIService();
const uriList = await apiProtocol.uploadJSONUriInfo({
items: [
{
name: "NFT 1 name",
description: "NFT 1 desc",
image: "ipfs://XXX",
attributes: [
{ trait_type: "Level", value: 8 },
{ trait_type: "Type", value: "Monster" }
]
},
...
]
});
console.log(uriList)
} catch (e) {
console.error(e);
}Parameters
Response
Last updated