Answer the question
In order to leave comments, you need to log in
Web3.js: Why doesn't contract.methods.myMethod work?
Hello! I want to send a transaction to a smart contract using web3. web3 version - 1.0.0
let contract = new icoWeb3.eth.Contract(getABI(), to);
contract.methods.transfer().send({
from: from,
value: value
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question