request

package
v1.0.0-beta.26 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DraftTransaction

type DraftTransaction struct {
	Outputs []Output `json:"-"`
}

DraftTransaction represents a request with specification for making a draft transaction.

func (*DraftTransaction) MarshalJSON

func (dt *DraftTransaction) MarshalJSON() ([]byte, error)

MarshalJSON custom marshaller for DraftTransaction

func (*DraftTransaction) UnmarshalJSON

func (dt *DraftTransaction) UnmarshalJSON(data []byte) error

UnmarshalJSON custom unmarshall logic for DraftTransaction

type Output

type Output interface {
	GetType() string
}

Output represents an output in a draft transaction request.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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