• Beta

    Get all NFTs

    Type Parameters

    Parameters

    • contract: RequiredParam<TContract>

      an instance of a NFTContract

    • Optional queryParams: {}

      query params to pass to the query for pagination

      Returns UseQueryResult<NFT[], unknown>

      a response object that includes an array of NFTs

      Example

      const { data: nfts, isLoading, error } = useNFTs(contract, { start: 0, count: 100 });
      

      Twfeature

      ERC721Supply | ERC721Enumerable | ERC1155Enumerable

      See

      Documentation

    Generated using TypeDoc