Skip to main content

CommandArgumentErrorInvalidGasCoinUsage

type CommandArgumentErrorInvalidGasCoinUsage​

Invalid usage of Gas coin. The Gas coin can only be used by-value with a TransferObjects command.

type CommandArgumentErrorInvalidGasCoinUsage struct {
}

func (CommandArgumentErrorInvalidGasCoinUsage) Destroy​

func (e CommandArgumentErrorInvalidGasCoinUsage) Destroy()

func (CommandArgumentErrorInvalidGasCoinUsage) ToBcs​

func (_self CommandArgumentErrorInvalidGasCoinUsage) ToBcs() ([]byte, error)

Convert this type to BCS encoded bytes.

func (CommandArgumentErrorInvalidGasCoinUsage) ToDisplayString​

func (_self CommandArgumentErrorInvalidGasCoinUsage) ToDisplayString() string

Render this type as human-readable text.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

func (CommandArgumentErrorInvalidGasCoinUsage) ToJson​

func (_self CommandArgumentErrorInvalidGasCoinUsage) ToJson() (string, error)

Convert this type to a JSON encoded string.