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
"The contract function "balanceOf" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "balanceOf",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2
function: balanceOf(address owner)
args: (0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC)
Docs: https://viem.sh/docs/contract/multicall
Version: viem@2.6.1"
add active project ID to WC_PROJECT_ID in .env.local
What Wagmi package(s) are you using?
wagmi
Wagmi Version
2.5.4
Viem Version
2.6.1
TypeScript Version
^5.2.2
Anything else?
Getting these errors in useReadContract and useReadContracts hooks.
Error stack trace:
ContractFunctionExecutionError
at getContractError (getContractError.js:34:12)
at readContract (readContract.js:67:98)
Caused by: ContractFunctionZeroDataError
at eval (getContractError.js:22:20)
at getContractError (getContractError.js:33:7)
at readContract (readContract.js:67:98)
The text was updated successfully, but these errors were encountered:
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Wagmi version. If you have any questions or comments you can create a new discussion thread.
Check existing issues
Describe the bug
Getting this error with default wagmi provided boilerplate:
Link to Minimal Reproducible Example
No response
Steps To Reproduce
WC_PROJECT_ID
in .env.localWhat Wagmi package(s) are you using?
wagmi
Wagmi Version
2.5.4
Viem Version
2.6.1
TypeScript Version
^5.2.2
Anything else?
Getting these errors in
useReadContract
anduseReadContracts
hooks.Error stack trace:
The text was updated successfully, but these errors were encountered: