I have an issue querying the balanceOf this ERC721 contract from another ERC20contract. Posted it on Stack If you want to take a look at it.
[EDIT] Moved from: [DRAFT] Create an NFT and deploy to a public testnet, using Truffle
I have an issue querying the balanceOf this ERC721 contract from another ERC20contract. Posted it on Stack If you want to take a look at it.
[EDIT] Moved from: [DRAFT] Create an NFT and deploy to a public testnet, using Truffle
So i fixed the issue i had. It was kind of obvious;
I was returning a result declared as unit256 that had a default value of 0.
Now i return the actual call.
function getNFTBalance(address _owner) public view returns (uint256){
return nft.balanceOf(_owner);
}
Hi @madeindreams,
Glad you were able to resolve.