Versions in this module Expand all Collapse all v1 v1.2.0 Aug 30, 2023 Changes in this version + func BroadcastPayload(reqCtx reqContext.Context, payload *common.Payload, orderers []fab.Orderer) (*fab.TransactionResponse, error) + func CreateChaincodeInvokeProposal(txh fab.TransactionHeader, request fab.ChaincodeInvokeRequest) (*fab.TransactionProposal, error) + func CreateChannelHeader(headerType common.HeaderType, opts ChannelHeaderOpts) (*common.ChannelHeader, error) + func CreatePayload(txh *TransactionHeader, channelHeader *common.ChannelHeader, data []byte) (*common.Payload, error) + func CreateSignatureHeader(txh *TransactionHeader) (*common.SignatureHeader, error) + func New(request fab.TransactionRequest) (*fab.Transaction, error) + func Send(reqCtx reqContext.Context, tx *fab.Transaction, orderers []fab.Orderer) (*fab.TransactionResponse, error) + func SendPayload(reqCtx reqContext.Context, payload *common.Payload, orderers []fab.Orderer) (*common.Block, error) + func SendProposal(reqCtx reqContext.Context, proposal *fab.TransactionProposal, ...) ([]*fab.TransactionProposalResponse, error) + type CCProposalType int + const Instantiate + const Upgrade + type ChannelHeaderOpts struct + ChaincodeID string + Epoch uint64 + TLSCertHash []byte + Timestamp time.Time + TxnHeader *TransactionHeader + type TransactionHeader struct + func NewHeader(ctx contextApi.Client, channelID string, opts ...fab.TxnHeaderOpt) (*TransactionHeader, error) + func (th *TransactionHeader) ChannelID() string + func (th *TransactionHeader) Creator() []byte + func (th *TransactionHeader) Nonce() []byte + func (th *TransactionHeader) TransactionID() fab.TransactionID