我按照手册提出要求,一切都很顺利
const walletContract = client.open(wallet);
const seqno = await walletContract.getSeqno();
console.log(seqno);
await walletContract.sendTransfer({
secretKey: key.secretKey,
seqno: seqno,
messages: [
internal({
to: "EQA4V9tF4lY2S_J-sEQR7aUj9IwW-Ou2vJQlCn--2DLOLR5e",
value: "0.09", // 0.05 TON
body: "Hello", // optional comment
bounce: false,
}),
],
});
let currentSeqno = seqno;
while (currentSeqno == seqno) {
console.log("waiting for transaction to confirm...");
await sleep(1500);
currentSeqno = await walletContract.getSeqno();
}
console.log("transaction confirmed!");
现在我有一个问题,如何查看交易历史?有什么方法吗
我什么都没尝试过