You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
let note = ctx.request.body.note,
uid = ctx.request.body.uid;
var noteContractObj = new web3.eth.Contract(abi,contractAddr);
await noteContractObj.methods.addNote(note).send({
from:uid,
gas:300000,
},(err,result)=>{}
the varibles I used I have defined ,but i can not call the function from my contract,how should i do?
is my format wrong?
can you give a demo to call the function with param from contract?thanks
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
let note = ctx.request.body.note,
uid = ctx.request.body.uid;
var noteContractObj = new web3.eth.Contract(abi,contractAddr);
await noteContractObj.methods.addNote(note).send({
from:uid,
gas:300000,
},(err,result)=>{}
the varibles I used I have defined ,but i can not call the function from my contract,how should i do?
is my format wrong?
can you give a demo to call the function with param from contract?thanks
The text was updated successfully, but these errors were encountered: