Options
All
  • Public
  • Public/Protected
  • All
Menu

Stores information fetched from the blockchain about the current status of a validator. As an end user, you will not have to create an instance of this class, one will be generated for you to store information about a validator polled from the API functions in StakingAPI.

Hierarchy

Index

Constructors

constructor

  • Parameters

    • operator_address: ValAddress

      validator's operator address

    • consensus_pubkey: ValConsPubKey

      validator's consensus public key

    • jailed: boolean

      whether the current validator is jailed

    • status: number

      unbonded 0, unbonding 1, bonded 2

    • tokens: Int

      total Luna from all delegations (including self)

    • delegator_shares: Dec

      total shares of all delegators

    • description: Description

      validator's delegate description

    • unbonding_height: number

      if unbonding, height at which this validator began unbonding

    • unbonding_time: Date

      if unbonding, min time for the validator to complete unbonding

    • commission: Commission

      validator commission

    • min_self_delegation: Int

      minimum self delegation

    Returns Validator

Properties

commission

commission: Commission

validator commission

consensus_pubkey

consensus_pubkey: ValConsPubKey

validator's consensus public key

delegator_shares

delegator_shares: Dec

total shares of all delegators

description

description: Description

validator's delegate description

jailed

jailed: boolean

whether the current validator is jailed

min_self_delegation

min_self_delegation: Int

minimum self delegation

operator_address

operator_address: ValAddress

validator's operator address

status

status: number

unbonded 0, unbonding 1, bonded 2

tokens

tokens: Int

total Luna from all delegations (including self)

unbonding_height

unbonding_height: number

if unbonding, height at which this validator began unbonding

unbonding_time

unbonding_time: Date

if unbonding, min time for the validator to complete unbonding

Methods

toData

toJSON

  • toJSON(): string

Static fromData

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Property

Generated using TypeDoc