1

A smart contract method has already been deployed and I want to call a method using javascript. How can I do that?

contractABI = ABI json;
contractAddress = ('my addess');`
Alexander
  • 4,420
  • 7
  • 27
  • 42
Pradeep Maurya
  • 384
  • 2
  • 8
  • From web3js documentation: https://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#id12 and if you want a call and not a transaction: https://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#methods-mymethod-call – nikos fotiadis Nov 19 '18 at 14:40
  • If you can't figure it out from the documentation update the question with the code you tried and what errors you are getting. – nikos fotiadis Nov 19 '18 at 14:44

0 Answers0