Replies: 1 comment 3 replies
-
Have you tried making it a It would look something like this: function retrieve() public view returns (uint256){
return number;
} |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
Above is the the error I'm getting when trying to access the retrieve method from the smart contract I've written although I'm able to get the contract object which means I've connected to the contract successfully using etherjs, node and express
I've also attached my solidity contract here as well below also attached my js code
Beta Was this translation helpful? Give feedback.
All reactions