I can call the base methods (totalSupply, name, approve, etc.) but not the custom one's I defined. I get a "[name of method] is not a function error"

If I console.log the contract.methods, the default one's have a name, but there's some in hexadecimal. I'm presuming these are my custom methods.

How can I get the actual name to show/call the actual name? Is this an issue with the ABI?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.