useClaimedNFTs

Hook for fetching all claimed NFTs from a given NFT Drop contract.

Available to use on contracts that implement ERC721Claimable , such as the NFT Drop .

Example

import { useClaimedNFTs, useContract } from "@thirdweb-dev/react";
function App() {
const { contract } = useContract(contractAddress, "nft-drop");
const { data: nfts, isLoading, error } = useClaimedNFTs(contract);
}

Parameters

Returns

Query Result object that includes an array of NFTs that are claimed in the data property