Reputation: 4665
I am not able to get transaction id from AWS managed blockchain using chaincode's stub.getState(key) method. Please suggest..
Upvotes: 1
Views: 152
Reputation: 12033
Please try the stub method getTxID()
instead.
Or, you can get it from the transaction object at the client layer when submitting the transaction
Upvotes: 0