typescript-sdk

Home > @3rdweb/sdk > NFTModule > getAll

NFTModule.getAll() method

Get All NFTs

Signature:

getAll(): Promise<NFTMetadata[]>;

Returns:

Promise<NFTMetadata[]>

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);