typescript-sdk

Home > @3rdweb/sdk > DropModule > getAll

DropModule.getAll() method

Get All NFTs

Signature:

getAll(queryParams?: QueryAllParams): Promise<NFTMetadataOwner[]>;

Parameters

Parameter Type Description
queryParams QueryAllParams  

Returns:

Promise<NFTMetadataOwner[]>

The NFT metadata for all NFTs in the module.

Remarks

Get all the data associated with every NFT in this module.

Example

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