From deda9d6ac4b6e4a732af0272942c6f9e672f3724 Mon Sep 17 00:00:00 2001 From: keyp-dev Date: Thu, 19 Dec 2024 15:50:27 +0800 Subject: [PATCH] feat: update artworks --- src/index.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index b6dbf58..91b6f14 100644 --- a/src/index.ts +++ b/src/index.ts @@ -42,9 +42,11 @@ const createGiftBox = async ( artwork_name: "Demo Artwork name", artwork_description: "Demo Artwork description", - type: artwork_nft.type, - // Only support 1, indicating one 1155/721 NFT - amount: '1', + metadata: { + type: artwork_nft.type, + // Only support 1, indicating one 1155/721 NFT + amount: '1', + }, }, ], // Gift box configuration