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

constructor

  • 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

amount: Coin

delegator_address

delegator_address: string

validator_address

validator_address: string

Methods

packAny

  • packAny(): Any

toAmino

toAminoJSON

  • toAminoJSON(): string
  • Returns string

toData

toJSON

  • toJSON(): string
  • Returns string

toProto

  • toProto(): MsgUndelegate

Static fromAmino

Static fromData

Static fromProto

Static unpackAny