Docs

useUnclaimedNFTs

Hook for fetching information about all NFTs that haven't been claimed yet from an NFT Drop contract.

Available to use on contracts that extends the ERC721 spec

Example

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

Parameters

Returns

The hook's data property, once loaded, contains an array of NFT objects.