-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to know whether the transaction succeeded or failed #77
Comments
Hi, Unfortunately, Message structure within RawTransactions does not contain this hash of the message, which means you cannot get it hash with the help of tonlib. For that to fix I created a PR. The same applies to fields aborted, skipped and etc - these are not part of tonlib response. In ton4j you can use lite-client wrapper to get block's or transaction's dumps, here are some examples |
I would like correct myself on this:
|
Help me for life |
Can you help me? |
1 similar comment
Can you help me? |
yes, the PR ton-blockchain/ton#1379 has been merged to testnet, within two weeks will be a new release and I will provide a demo code on how to find out whether msg has been delivered to a blockchain, and some guidelines on how to see if tx is successful. |
Please don't hack my system. I just want help. I will be glad if you help. |
一、After send Tx。We get this
and then
And what's going on?
二、toncenter api
I find a api
https://testnet.toncenter.com/api/v3/index.html#/blockchain/api_v3_get_transactions
and but both of hash or hash2 cann't get result。
But if I search by use hash or hash2 through testnet.tonview.com
I'll get the tx chain
And if I use first tx of tx chain like【60da2e9798291fd32a1400e90ef32f5b2878f9d9d18237c6a5deadd4f5fcd1b8】
I can get the result
And Then question is:
1、If I use tonlib, How to know whether the transaction succeeded or failed
2、If I use the tonview api,How to get the param 60da2e9798291fd32a1400e90ef32f5b2878f9d9d18237c6a5deadd4f5fcd1b8 through ExtMessageInfo。
The text was updated successfully, but these errors were encountered: