Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgMint

MsgMint is the sdk.Msg type for allowing an admin account to mint more of a token. For now, we only support minting to the sender account

Hierarchy

Index

Constructors

  • Parameters

    • sender: string

      internal account or external sender address

    • Optional amount: Coin

      amount of coins to mint

    Returns MsgMint

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): MsgMint
  • fromProto(proto: MsgMint, _?: boolean): MsgMint
  • unpackAny(msgAny: Any, _?: boolean): MsgMint