Getting contract variables! #2557
Unanswered
LukeKosner
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I SOLVED THIS ISSUE
I'm not really sure what was causing the issue.
Hi everyone,
I'm having trouble with calling a contract variable. Here is my code and errors:
code:
error:
Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={"code":-32000,"message":"execution reverted"}, method="call", transaction={"gasLimit":{"type":"BigNumber","hex":"0x4c4b40"},"to":"0x5c9A1833a3e0d36f3384B8b93f781F7A5cdcDaBa","data":"0x712b4ac1","accessList":null}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.5.2)
Why is this not working?
Thank you all!
Beta Was this translation helpful? Give feedback.
All reactions