to call contract method using signer.address?
const tx = contract.methods.createVote(taskArgs.voteName, taskArgs.participantList.split(' '));
const receipt = await tx
.send({
from: signer.address,
gas: await tx.estimateGas(),
})
Hi this is not call function because you are sending a transaction . if you want to send "createVote" function, you can do it such as below :
Обсуждают сегодня