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

constructor

  • 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

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(): MsgDelegate

Static fromAmino

Static fromData

Static fromProto

Static unpackAny