Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Delegation

Stores information about the status of a delegation between a delegator and validator, fetched from the blockchain.

Hierarchy

Index

Constructors

constructor

Properties

balance

balance: Int

balance of the delegation

delegator_address

delegator_address: AccAddress

delegator's account address

shares

shares: Dec

delegator's shares

validator_address

validator_address: ValAddress

validator's operator address

Methods

toData

toJSON

  • toJSON(): string

Static fromData