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
// Create a transfer
const seqno: number = await contract.getSeqno();
const transfer = await contract.createTransfer({
seqno,
secretKey: keyPair.secretKey,
messages: [
internal({
value: '0.11',
to: 'EQBVXzBT4lcTA3S7gdrg5hnl5fnsSWj4oNEzNp09aQxkwj1G',
body: '123456',
}),
],
});
const res = await contract.send(transfer);
I tried to decode transfer with transfer.hash().toString('hex');But after sending I compared hashes and they was different.
I thought that I can find it in getTransactions(): Transaction[] data after transfer send. With trying to find it by seqno. Cause I know current seqno and transaction with seqno+1 must be that I need. But I didnt find seqno in getTransactions() items.
How can I get actual hash after transfer send?I use TypeScript ton library.Thank you.
I tried to decode transfer with
transfer.hash().toString('hex');
But after sending I compared hashes and they was different.I thought that I can find it in
getTransactions(): Transaction[]
data after transfer send. With trying to find it by seqno. Cause I know current seqno and transaction with seqno+1 must be that I need. But I didnt find seqno ingetTransactions()
items.How can I get actual hash after transfer send?I use TypeScript ton library.Thank you.
Answer
No answer found
Original
The text was updated successfully, but these errors were encountered: