We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.9.1
No response
This logic works in ethers v5 but not in v6
const provider = new ethers.JsonRpcProvider(network.provider); // @ts-ignore const contract = new ethers.Contract(address, abi, provider); const result = await contract.functions[functionName](...(args || []), { from: account.address });
I've tried removing the functions method like this 👇
const contractFunction = contract.getFunction(functionName) const result = await contractFunction(...(args || []));
still fails!
Please HELP!🆘
[Error: could not decode result data (value="0x", info={ "method": "totalCounter", "signature": "totalCounter()" }, code=BAD_DATA, version=6.9.1)]
React Native/Expo/JavaScriptCore
The text was updated successfully, but these errors were encountered:
ricmoo
No branches or pull requests
Ethers Version
6.9.1
Search Terms
No response
Describe the Problem
This logic works in ethers v5 but not in v6
I've tried removing the functions method like this 👇
still fails!
Please HELP!🆘
Code Snippet
No response
Contract ABI
No response
Errors
Environment
React Native/Expo/JavaScriptCore
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: