Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRequest ¶
func NewTranHeader ¶
Types ¶
type TransRequest ¶
type TransRequest struct { ChannelId string ChaincodeId string Fcn string Args [][]byte TransientMap map[string][]byte }
func (*TransRequest) GetRequest ¶
func (t *TransRequest) GetRequest() *fab.ChaincodeInvokeRequest
type TransactionHeader ¶
type TransactionHeader struct {
// contains filtered or unexported fields
}
TransactionHeader contains metadata for a transaction created by the SDK.
func (*TransactionHeader) ChannelID ¶
func (th *TransactionHeader) ChannelID() string
ChannelID returns the transaction's target channel identifier.
func (*TransactionHeader) Creator ¶
func (th *TransactionHeader) Creator() []byte
Creator returns the transaction creator's identity bytes.
func (*TransactionHeader) Nonce ¶
func (th *TransactionHeader) Nonce() []byte
Nonce returns the transaction's generated nonce.
func (*TransactionHeader) TransactionID ¶
func (th *TransactionHeader) TransactionID() fab.TransactionID
TransactionID returns the transaction's computed identifier.
Click to show internal directories.
Click to hide internal directories.