Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgCreateDenom

MsgCreateDenom defines the message structure for the CreateDenom gRPC service method. It allows an account to create a new denom. It requires a sender address and a sub denomination. The (sender_address, sub_denomination) tuple must be unique and cannot be re-used.

The resulting denom created is defined as <factory/{creatorAddress}/{subdenom}>. The resulting denom's admin is originally set to be the creator, but this can be changed later. The token denom does not indicate the current admin.

Hierarchy

Index

Constructors

  • Parameters

    • sender: string

      internal account or external sender address

    • subdenom: string

      can be up to 44 "alphanumeric" characters long.

    Returns MsgCreateDenom

Properties

sender: string
subdenom: 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): MsgCreateDenom