This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x68694Eb777a88041f442E7607f0431B4159dCC93 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am captnseagraves on github. | |
* I am captnseagraves (https://keybase.io/captnseagraves) on keybase. | |
* I have a public key ASBaIVg3H_EehwdBboIQflmrOoFG5Xw2pKWAgulnd2iWhgo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { data: addressNFTBalance } = useScaffoldContractRead({ | |
contractName: "NonFungibleFriends", | |
functionName: "balanceOf", | |
args: [targetAddress, connectedAddress], | |
}); | |
console.log("addressNFTBalance", Number(addressNFTBalance)); | |
const numberAddressNFTBalance = Number(addressNFTBalance || 0); |