Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

GMS-512: improves example for get mint #291

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion examples/getMint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import { Config, ImmutableX } from '@imtbl/core-sdk';
id: '',
});

console.log('getMintResponse', JSON.stringify(getMintResponse));
// getMintResponse will be an array containing only one result
const mintResult = getMintResponse[0];

console.log('getMintResponse', JSON.stringify(mintResult));
} catch (err) {
console.error(err);
process.exit(1);
Expand Down