Docs

getOwnedNFTs

Retrieves the owned NFTs for a given owner.

Example

import { getOwnedNFTs } from "thirdweb/extensions/erc721";
const ownedNFTs = await getOwnedNFTs({
contract,
owner: "0x1234...",
});

Parameters

Returns

A promise that resolves to an array of NFTs owned by the specified owner.