Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgUndelegate

A delegator can undelegate an amount of bonded Luna, and will begin the unbonding process for those funds. The unbonding process takes 21 days to complete, during which the Luna cannot be transacted or swapped.

Hierarchy

Index

Constructors

  • new MsgUndelegate(delegator_address: string, validator_address: string, amount: Coin): MsgUndelegate
  • Parameters

    • delegator_address: string

      delegator's account address

    • validator_address: string

      validator's operator address

    • amount: Coin

      Luna to be undelegated

    Returns MsgUndelegate

Properties

amount: Coin
delegator_address: string
validator_address: string

Methods

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

    • Optional isClassic: boolean

    Returns string

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

    • Optional isClassic: boolean

    Returns string

  • toProto(_?: boolean): MsgUndelegate