Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgDelegate

A delegator can submit this message to send more Luna to be staked through a validator delegate.

Hierarchy

Index

Constructors

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

    • delegator_address: string

      delegator's account address

    • validator_address: string

      validator's operator address

    • amount: Coin

      amount of LUNA to be sent for delegation

    Returns MsgDelegate

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