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: number[] | Uint8Array | Buffer): null | ValidatorInfo
  • Deserialize ValidatorInfo from the config account data. Exactly two config keys are required in the data.

    Parameters

    • buffer: number[] | Uint8Array | Buffer

      config account data

    Returns null | ValidatorInfo

    null if info was not found

Generated using TypeDoc