models

package
v0.0.0-...-18433b1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 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 RetirementToken

type RetirementToken struct {

	// block height
	BlockHeight string `json:"block_height,omitempty"`

	// coin id
	CoinID string `json:"coin_id,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// public key
	PublicKey string `json:"public_key,omitempty"`

	// value
	Value string `json:"value,omitempty"`

	// was notified
	WasNotified string `json:"was_notified,omitempty"`
}

RetirementToken retirement_token

Retired Chia Carbon Token

swagger:model retirement_token

func (*RetirementToken) ContextValidate

func (m *RetirementToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this retirement token based on context it is used

func (*RetirementToken) MarshalBinary

func (m *RetirementToken) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RetirementToken) UnmarshalBinary

func (m *RetirementToken) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RetirementToken) Validate

func (m *RetirementToken) Validate(formats strfmt.Registry) error

Validate validates this retirement token

Jump to

Keyboard shortcuts

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