Running something simple as this:
Contract = new web3.eth.Contract(this.contractABI, this.contractAddress) Contract.methods.transfer(toAccount.address, transfferAmount).encodeABI()
Gives me following error:
ERROR TypeError: _this.tokenContract.methods.transfer is not a function
What could I be doing wrong? I have showed the Contract variable on the console, and it in fact does not have "transfer" in its methods property.