Skip to content

ERC721_GetOwnedNFTs() => Empty #109

@emin-karadag

Description

@emin-karadag

Hello,
I am using Thirdweb v2.11.1.
I created a collection of NFTs. Before I burned the NFTs in the collection with ‘Burn’, I could get all the NFTs I created with the ERC721_GetOwnedNFTs() method. However, after ‘Burn’, I could no longer get the NFT list with the ERC721_GetOwnedNFTs() or ERC721_GetAllNFTs() methods.
Only when I give an NFT ID to the ERC721_GetNFT() method, this method works specifically.

I couldn't understand the exact cause of the problem, but as I said, whatever happened happened after the ‘Burn’ operation. I can mint a new NFT, but I cannot pull the NFT list.

=================

nft_contract_address = "0xeB0E894FFE99b43bC1Aef0b5fD8F77D27336427f"
chainId = 43113
walletAddress = "0x11F6D1935dAA4134EB3B6e3a3d56614821600Be7"

====================

var contract = await ThirdwebContract.Create(client, nft_contract_address, chainId);
var result= await contract2.ERC721_GetOwnedNFTs("0x11F6D1935dAA4134EB3B6e3a3d56614821600Be7");

Thank you...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions