• Beta

    Get all NFTs owned by a specific wallet

    Type Parameters

    Parameters

    • contract: RequiredParam<TContract>

      an instance of a NFTContract

    • ownerWalletAddress: RequiredParam<string>

      the wallet address to get owned tokens for

    • Optional queryParams: {}

      query params to pass to the query for pagination

      Returns UseQueryResult<NFT[], unknown>

      a response object that includes the list of owned tokens

      Example

      const { data: ownedNFTs, isLoading, error } = useOwnedNFTs(contract, "{{wallet_address}}", { start: 0, count: 100 });
      

      Twfeature

      ERC721Enumerable | ERC1155Enumerable | ERC721Supply

      See

      Documentation

    Generated using TypeDoc