typescript-sdk

Home > @3rdweb/sdk > PackModule > getAll

PackModule.getAll() method

Get Pack Data

Signature:

getAll(): Promise<PackMetadata[]>;

Returns:

Promise<PackMetadata[]>

The NFT metadata for all NFTs in the module.

Remarks

Get data associated with every pack in this module.

Example

const packs = await module.getAll();
console.log(packs);