How to get query transaction id from AWS managed blockchain using chaincode

118 Views Asked by At

I am not able to get transaction id from AWS managed blockchain using chaincode's stub.getState(key) method. Please suggest..

1

There are 1 best solutions below

0
MonoThreaded On

Please try the stub method getTxID() instead.

Or, you can get it from the transaction object at the client layer when submitting the transaction