Home > @3rdweb/sdk > PackModule > getNFTs
Get Pack Reward Data
Signature:
getNFTs(packId: string): Promise<PackNFTMetadata[]>;
Parameter | Type | Description |
---|---|---|
packId | string |
Returns:
Promise<PackNFTMetadata[]>
The NFT metadata for all NFTs in the module.
Get data associated with the rewards inside a specified pack
// The pack ID of the pack whos rewards you want to get
const packId = 0;
const nfts = await module.getNFTs(packId);
console.log(nfts);