我使用功能send()
,但我无法成功。我使用shasta测试网。
我用像这样:
async function triggercontract2(){
let instance = await tronWeb.contract().at('TYG94abpo1Am6suTuZFkfjATCBgyt4ySny');
let res = await instance["placeBidBox"]([0,1],[1,1],"10:51").send({
feeLimit:100000000,
callValue:0,
tokenId:1000036,
tokenValue:100,
shouldPollResponse:true
});
console.log("placeBid")
console.log(res);
}
triggercontract2();
请帮助我。谢谢;