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
I'm using in_msg.hash to identify a transaction that sent from my own wallet as it is immutable and can be searched by on explorer https://tonscan.org . But when I indexing transactions, I can't find message.hash in any API and it hard to caculate for me.
Is it possible to support message.hash in getTransactions? Or is there any other solution should I take?
The text was updated successfully, but these errors were encountered:
Looks like a good idea. We will see if it's possible to implement.
However, for now you can use the in_msg.body_hash for this. Just calculate the cell hash of your message's body locally and use it to match transaction from the getTransactions.
Looks like a good idea. We will see if it's possible to implement.
However, for now you can use the in_msg.body_hash for this. Just calculate the cell hash of your message's body locally and use it to match transaction from the getTransactions.
I used this library https://github.com/continuation-team/TonSdk.NET .
And got the cell hash, but it same as in_msg.hash, not same in_msg.body_hash, but unfortunately getTransactions did not return in_msg.hash
This is cell hash of message's body locally.
This is getTransactionsin_msg.body_hash.
This is testnet.tonscan.org in_msg.hash.
This is the api interface data for the testnet.tonscan.org call. https://testnet.toncenter.com/api/index/getTransactionByInMessageHash?msg_hash=xxx
This data is very confusing to me and I have no way of knowing exactly which piece of data in getTransactions is the transaction that happened to me. Other blockchains make it very easy to get transaction hash, I don't know why TON Network is so difficult!
I'm using in_msg.hash to identify a transaction that sent from my own wallet as it is immutable and can be searched by on explorer https://tonscan.org . But when I indexing transactions, I can't find message.hash in any API and it hard to caculate for me.
Is it possible to support message.hash in
getTransactions
? Or is there any other solution should I take?The text was updated successfully, but these errors were encountered: