When writing client application for Hyperledger Sawtooth,
protobuf.Transaction.create()
is used to create a Transaction and
protobuf.TransactionHeader.encode()
is used to create TransactionHeader.
So what exactly is the difference between these two functions?