mintToken

배포한 NFT 컨트랙트를 통해 NFT를 민팅하기 위한 API입니다. 미리 생성한 Metadata ID를 입력하여 민팅합니다.

Callback으로 어떤 데이터를 받을 수 있나요?

콜백의 구현과 관련한 전반적인 사항은, 여기 여기를 참조해주세요.

NFT 민팅 API에서 콜백 URL을 포함하여 민팅을 요청한 경우, 콜백 메시지로 다음과 같은 항목이 포함됩니다.

  • 민팅이 완료 된 token의 정보 (메타데이터를 포함)
{ 
    "result": true, 
    "data": { 
        "token": {
          "id": "5681808314427448086",
          "currencyCode": "lvs3",
          "tokenId": "100",
          "issuedTo": "0x404c1543eb3b64fb6721fd933e7fe8be267bcf42",
          "transactionHash": "0x1af1a07283c3626df2afbcce9ed4cfb9f978d2a18653a3b9950c353f4ea16120",
          "transactionStatus": "DEPLOYED",
          "currentOwner": "0x404c1543eb3b64fb6721fd933e7fe8be267bcf42",
          "lastTransactionHash": "0x1af1a07283c3626df2afbcce9ed4cfb9f978d2a18653a3b9950c353f4ea16120",
          "editionNo": "6",
          "metadata": {
              "id": "4683872034417772061",
              "name": "Luniverse7",
              "createdBy": "richard",
              "createdDate": "2022-04-08",
              "image": "https://nft-cdn.luniverse.dev/public/3be02fcc-5e93-4f55-80d1-d4ff36db39e7_2022-04-08T07:29:54.394Z.jpeg",
              "imageHash": "36b348e21457af324a98ee57988be07580cad6b688fe4218d8b1ab7b76f74444",
              "thumbnail": "https://nft-cdn.luniverse.dev/public/3be02fcc-5e93-4f55-80d1-d4ff36db39e7_2022-04-08T07:29:54.394Z.jpeg",
              "description": "Luniverse7 description",
              "properties": [],
              "editionMax": "100",
              "createdAt": "2022-04-08T07:30:31.094Z"
          },
          "contractName": "luniverse3",
          "contractAddress": "0x1c6b56fb743b07dcafd5f23188a31422c1cefb13",
          "tokenUri": "https://nft.luniverse.dev/nft/v1/metadata/luniverse/lvs3/100",
          "createdBy": {
              "accountId": "8301941016821731686",
              "iamUserId": "8534000168011864333",
              "account": {
                  "accountId": "8301941016821731686",
                  "email": "[email protected]",
                  "name": "richard",
                  "alias": null,
                  "createdAt": "2022-04-05T04:08:58.000Z",
                  "isEnabled": 1,
                  "isEmailVerified": true,
                  "info": {
                      "countryCode": null,
                      "phoneAreacode": null,
                      "phoneNumber": null,
                      "companyName": null,
                      "companyWebsite": null,
                      "isMarketingAgreed": 0
                  }
              },
              "iamUser": {
                  "iamUserId": "8534000168011864333",
                  "username": "6JBRyAzCu6k8TvyNxvsrihjwCTkZhZpREKCGvhs3MUdACA2yLYbMwfZqGRPF5dvm",
                  "description": "NFT API",
                  "type": "API-KEY",
                  "createdBy": {
                      "accountId": "8301941016821731686",
                      "iamUserId": null
                  },
                  "createdAt": "2022-04-05T04:36:09.000Z"
              }
          },
          "createdAt": "2022-04-08T07:38:06.544Z",
          "callbackUrl": "",
          "callbackStatus": "NOT_APPLICABLE",
          "callbackRetryCount": 0
      } 
    } 
};
Language
Authentication
Header
Click Try It! to start a request and see the response here!