Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgBurn

MsgBurn is the sdk.Msg type for allowing an admin account to burn a token. For now, we only support burning from the sender account.

Hierarchy

Index

Constructors

  • Parameters

    • sender: string

      internal account or external sender address

    • Optional amount: Coin

      amount of coins to burn

    Returns MsgBurn

Properties

amount?: Coin
sender: string

Methods

  • packAny(_?: boolean): Any
  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toProto(_?: boolean): MsgBurn
  • fromProto(proto: MsgBurn, _?: boolean): MsgBurn
  • unpackAny(msgAny: Any, _?: boolean): MsgBurn