Documentation ¶
Index ¶
Constants ¶
View Source
const ( RequestTypeSendTransaction = "SendTransaction" RequestTypeQuery = "Query" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagedTXError ¶
type ManagedTXError struct { Time *fftypes.FFTime `json:"time"` Error string `json:"error,omitempty"` Mapped ffcapi.ErrorReason `json:"mapped,omitempty"` }
type ManagedTXOutput ¶
type ManagedTXOutput struct { FFTMName string `json:"fftmName"` ID *fftypes.UUID `json:"id"` Nonce *fftypes.FFBigInt `json:"nonce"` Gas *fftypes.FFBigInt `json:"gas"` TransactionHash string `json:"transactionHash,omitempty"` TransactionData string `json:"transactionData,omitempty"` GasPrice *fftypes.JSONAny `json:"gasPrice"` PolicyInfo *fftypes.JSONAny `json:"policyInfo"` FirstSubmit *fftypes.FFTime `json:"firstSubmit,omitempty"` LastSubmit *fftypes.FFTime `json:"lastSubmit,omitempty"` Request *TransactionRequest `json:"request,omitempty"` Receipt *ffcapi.GetReceiptResponse `json:"receipt,omitempty"` ErrorHistory []*ManagedTXError `json:"errorHistory"` Confirmations []confirmations.BlockInfo `json:"confirmations,omitempty"` }
ManagedTXOutput is the structure stored into the operation in FireFly, that the policy engine can use to apply policy, and apply updates to
type RequestHeaders ¶
type RequestHeaders struct { ID *fftypes.UUID `json:"id"` Type RequestType `json:"type"` }
type RequestType ¶
type RequestType string
type TransactionRequest ¶
type TransactionRequest struct { Headers RequestHeaders `json:"headers"` ffcapi.TransactionInput }
TransactionRequest is the external interface into sending transactions to the front-side of Transaction Manager Note this is a deliberate match for the EthConnect subset that is supported by FireFly core
Click to show internal directories.
Click to hide internal directories.