Closed PomegranateApps closed 2 years ago
const { nft } = await metaplex.candyMachines().mint(...).run();
🙂
Is there documentation for this somewhere?
Not yet, soon :)
How get the candy machine state for input into that new mint function? I'm using this one right now here. https://github.com/metaplex-foundation/candy-machine-ui/blob/main/src/candy-machine.ts#L166
I've been using this code to mint Solana NFT's in my own project, but is it possible to use this API to do the same? https://github.com/metaplex-foundation/candy-machine-ui/blob/main/src/candy-machine.ts#L371