hyperledger-fabricblockchainhyperledgerhyperledger-fabric-sdk-go

How do I get the transaction timestamp from a block?


How can I use fabric-sdk-go to get the transaction timestamp from the block?


Solution

  • This problem has been solved. TimeStamp can be obtained by parsing *common.BlockData, which is contained in *common.ChannelHeader.