Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgBeginRedelegate

A delegator can choose to redelegate their bonded Luna and transfer a delegation amount from one validator to another. Unlike undelegating, redelegations do not incur a 21-day unbonding period and happen immediately.

Hierarchy

Index

Constructors

  • new MsgBeginRedelegate(delegator_address: string, validator_src_address: string, validator_dst_address: string, amount: Coin): MsgBeginRedelegate
  • Parameters

    • delegator_address: string

      delegator's account address

    • validator_src_address: string

      validator to undelegate from

    • validator_dst_address: string

      validator to delegate to

    • amount: Coin

      LUNA to be redelegated

    Returns MsgBeginRedelegate

Properties

amount: Coin
delegator_address: string
validator_dst_address: string
validator_src_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): MsgBeginRedelegate