Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
RegisterRoutes creates the specific package routes
Types ¶
type NewDraftTransaction ¶
type NewDraftTransaction struct { // Configuration of the transaction Config response.TransactionConfig `json:"config"` // Accepts a JSON object for embedding custom metadata, enabling arbitrary additional information to be associated with the resource Metadata engine.Metadata `json:"metadata" swaggertype:"object,string" example:"key:value,key2:value2"` }
NewDraftTransaction is the model for creating a new transaction
type OldNewDraftTransaction ¶
type OldNewDraftTransaction struct { // Configuration of the transaction Config models.TransactionConfig `json:"config"` // Accepts a JSON object for embedding custom metadata, enabling arbitrary additional information to be associated with the resource Metadata engine.Metadata `json:"metadata" swaggertype:"object,string" example:"key:value,key2:value2"` }
OldNewDraftTransaction is the model for creating a new transaction
type OldRecordTransaction ¶
type OldRecordTransaction struct { // Accepts a JSON object for embedding custom metadata, enabling arbitrary additional information to be associated with the resource Metadata engine.Metadata `json:"metadata" swaggertype:"object,string" example:"key:value,key2:value2"` // Hex of the transaction Hex string `json:"hex" example:"0100000002..."` // ReferenceID which is a ID of the draft transaction ReferenceID string `json:"reference_id" example:"b356f7fa00cd3f20cce6c21d704cd13e871d28d714a5ebd0532f5a0e0cde63f7"` }
OldRecordTransaction is the model for recording a transaction
type OldUpdateTransaction ¶
type OldUpdateTransaction struct { // Accepts a JSON object for embedding custom metadata, enabling arbitrary additional information to be associated with the resource Metadata engine.Metadata `json:"metadata" swaggertype:"object,string" example:"key:value,key2:value2"` // ID of the transaction which is a hash of the transaction ID string `json:"id" example:"01d0d0067652f684c6acb3683763f353fce55f6496521c7d99e71e1d27e53f5c"` }
OldUpdateTransaction is the model for updating a transaction
type OldUpdateTransactionRequest ¶
type OldUpdateTransactionRequest struct { // Accepts a JSON object for embedding custom metadata, enabling arbitrary additional information to be associated with the resource Metadata engine.Metadata `json:"metadata" swaggertype:"object,string" example:"key:value,key2:value2"` }
OldUpdateTransactionRequest is the model used for updating a transaction
type RecordTransaction ¶ added in v0.16.0
type RecordTransaction struct { // Accepts a JSON object for embedding custom metadata, enabling arbitrary additional information to be associated with the resource Metadata engine.Metadata `json:"metadata" swaggertype:"object,string" example:"key:value,key2:value2"` // Hex of the transaction Hex string `json:"hex" example:"0100000002..."` // ReferenceID which is a ID of the draft transaction ReferenceID string `json:"referenceId" example:"b356f7fa00cd3f20cce6c21d704cd13e871d28d714a5ebd0532f5a0e0cde63f7"` }
RecordTransaction is the model for recording a transaction
type UpdateTransaction ¶ added in v0.16.0
type UpdateTransaction struct { // Accepts a JSON object for embedding custom metadata, enabling arbitrary additional information to be associated with the resource Metadata engine.Metadata `json:"metadata" swaggertype:"object,string" example:"key:value,key2:value2"` // ID of the transaction which is a hash of the transaction ID string `json:"id" example:"01d0d0067652f684c6acb3683763f353fce55f6496521c7d99e71e1d27e53f5c"` }
UpdateTransaction is the model for updating a transaction
type UpdateTransactionRequest ¶
type UpdateTransactionRequest struct { // Accepts a JSON object for embedding custom metadata, enabling arbitrary additional information to be associated with the resource Metadata engine.Metadata `json:"metadata" swaggertype:"object,string" example:"key:value,key2:value2"` }
UpdateTransactionRequest is the model used for updating a transaction
Source Files
¶
Click to show internal directories.
Click to hide internal directories.