如果不设置gasfee,ton就不会处理的:
// Send Msg
let msg = beginCell()
.storeBuffer(Buffer.from("c5341626", "hex")) // 发送结构体
.storeStringTail("1")
.endCell()
let seqno: number = await wallet_contract.getSeqno()
console.log("wallet_contract seqno is ",seqno);
let result =await wallet_contract.sendTransfer({
seqno: seqno,
secretKey: keyPair.secretKey,
messages: [
internal({
to: deployContract,
value: toNano("0.2"), // 给个0.2Ton作为gas费
init: null,
bounce: false,
body: msg ,
}),
],
});
标签:seqno,contract,gasfee,let,value,ton From: https://www.cnblogs.com/zhanchenjin/p/18461262