1

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

Malatesh Patil
  • 4,505
  • 1
  • 14
  • 14

1 Answers1

0

Please try the stub method getTxID() instead.

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

MonoThreaded
  • 11,429
  • 12
  • 71
  • 102