transactions

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler added in v0.16.0

NewHandler creates the specific package routes

Types

type Action

type Action struct {
	actions.Action
}

Action is an extension of actions.Action for this package

type NewTransaction added in v0.16.0

type NewTransaction struct {
	Config   models.TransactionConfig `json:"config"`
	Metadata engine.Metadata          `json:"metadata"`
}

NewTransaction is the model for creating a new transaction

type RecordTransaction added in v0.16.0

type RecordTransaction struct {
	Hex         string          `json:"hex"`
	ReferenceID string          `json:"reference_id"`
	Metadata    engine.Metadata `json:"metadata"`
}

RecordTransaction is the model for recording a transaction

type UpdateTransaction added in v0.16.0

type UpdateTransaction struct {
	ID       string          `json:"id"`
	Metadata engine.Metadata `json:"metadata"`
}

UpdateTransaction is the model for updating a transaction

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL