-
Notifications
You must be signed in to change notification settings - Fork 51
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
如何判断一笔交易已经上链 #46
Comments
你上述所说的 TracsactionStatus ,意思是当前这笔交易是否被打包到区块中。 举例:
|
谢谢解答!后续有支持该接口的打算吗?
谢谢解答!未来有支持该功能的接口的打算么? |
暂时还没有,你感兴趣的话也可以自己实现一下,然后可以提交pr |
SDK版本
v2.0.0
问题描述
我想通过TxId查询判断当前这一笔交易有没有上链,但QueryTxByID()没有返回相关状态值。看下代码,貌似是有实现的但是并没有暴露出来。
QueryTx方法返回的是TxStatus结构体对象
对应的枚举值
不知道我的猜想是否正确,有没有什么方案?感谢!
The text was updated successfully, but these errors were encountered: