Options
All
  • Public
  • Public/Protected
  • All
Menu

ValidatorInfo class

Hierarchy

  • ValidatorInfo

Index

Constructors

Properties

Methods

Constructors

  • Construct a valid ValidatorInfo

    Parameters

    • key: PublicKey

      validator public key

    • info: Info

      validator information

    Returns ValidatorInfo

Properties

info: Info

validator information

validator public key

Methods

  • fromConfigData(buffer: Buffer | Uint8Array | number[]): null | ValidatorInfo
  • Deserialize ValidatorInfo from the config account data. Exactly two config keys are required in the data.

    Parameters

    • buffer: Buffer | Uint8Array | number[]

      config account data

    Returns null | ValidatorInfo

    null if info was not found

Generated using TypeDoc