How can I use fabric-sdk-go to get the transaction timestamp from the block?
Asked
Active
Viewed 548 times
0
-
1Have you tried anything so far ? – Crocsx Nov 29 '19 at 01:44
-
I tried to parse the block, but I don't know how to use fabric-sdk-go to get the transaction data in the block. – xupter Nov 29 '19 at 01:51
-
2I know you are new to posting, but it would be helpful if you could modify your question to include a snippet of any code you have tried so far. – Gari Singh Nov 29 '19 at 09:51
1 Answers
0
This problem has been solved. TimeStamp can be obtained by parsing *common.BlockData, which is contained in *common.ChannelHeader.

xupter
- 61
- 3