Home > @3rdweb/sdk > NFTModule > getOwned
Get Owned NFTs
Signature:
getOwned(_address?: string): Promise<NFTMetadata[]>;
Parameter | Type | Description |
---|---|---|
_address | string |
Returns:
Promise<NFTMetadata[]>
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);