Home > @3rdweb/sdk > DropModule > getOwned
Get Owned NFTs
Signature:
getOwned(_address?: string): Promise<NFTMetadataOwner[]>;
Parameter | Type | Description |
---|---|---|
_address | string |
Returns:
Promise<NFTMetadataOwner[]>
The NFT metadata for all NFTs in the module.
Get all the data associated with the NFTs owned by a specific wallet.
// Address of the wallet to get the NFTs of
const address = "";
const nfts = await module.getOwned(address);
console.log(nfts);