You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings to everyone. I'm getting the total number of minted nfts of a collection. When I connect to the wallet, it shows the instantly printed coins without any problems. When I disconnect the wallet, I get the following error. And the minted tokens are not visible.
`client.js:2 ContractFunctionExecutionError: The contract function "totalSupply" returned no data ("0x").
This could be due to any of the following:
The contract does not have the function "totalSupply",
The parameters passed to the contract function may be invalid, or
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Greetings to everyone. I'm getting the total number of minted nfts of a collection. When I connect to the wallet, it shows the instantly printed coins without any problems. When I disconnect the wallet, I get the following error. And the minted tokens are not visible.
`client.js:2 ContractFunctionExecutionError: The contract function "totalSupply" returned no data ("0x").
This could be due to any of the following:
Contract Call:
address: 0xFC02a4589DE78dB617025c7cC7B352a6e7A7930E
function: totalSupply()
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@1.21.3
at getContractError (getContractError.js:34:12)
at readContract (readContract.js:66:98)
at async Object.eval [as queryFn] (index.js:1297:12)`
Beta Was this translation helpful? Give feedback.
All reactions