Toggle navigation
Help
Log In
Help
Log In
Home
Messages
Hashtags
Subgroups
×
×
×
Close
Likes
fabric@lists.hyperledger.org
Topics
Fabric client java-getting blockheight
×
Close
Search
Date
Date
1 - 1 of 1
previous page
next page
Fabric client java-getting blockheight
jeff.jo95z@...
#11562
hi,
For fabric gateway ,blockheight was found like this:
Contract qscc = networkObj.getContract("qscc");
byte[] resultTran = qscc.evaluateTransaction("GetChainInfo", "channelName");
Ledger.BlockchainInfo info = Ledger.BlockchainInfo.parseFrom(resultTran);
long blockHeight = info.getHeight();
How to get the block height using fabric client (java)?
More
All Messages By This Member
×
Close
Verify Delete
Are you sure you wish to delete this message from the message archives of fabric@lists.hyperledger.org?
This cannot be undone.
×
Close
Verify Repost
Are you sure you wish to repost this message?
×
Close
Report Message
Reason
Report to Moderators
I think this message isn't appropriate for our group. The Group moderators are responsible for maintaining their community and can address these issues.
Report to Hyperledger Support
I think this violates the Terms of Service. This includes: harm to minors, violence or threats, harassment or privacy invasion, impersonation or misrepresentation, fraud or phishing.
Note:
Your email address is included with the abuse report.
×
Close
Split Topic
The new topic will begin with this message. Subject of the new topic:
1 - 1 of 1
previous page
1
next page
Previous Topic
Next Topic
More Options
More
Home
Hashtags
Subgroups
Terms
Toggle navigation
Terms
©
2023
Groups.io