Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ValPubKey

Index

Functions

fromValAddress

  • fromValAddress(valAddress: string): ValPubKey
  • Converts a Terra validator operator address to a validator pubkey.

    Parameters

    • valAddress: string

      account pubkey

    Returns ValPubKey

validate

  • validate(data: string): boolean
  • Checks if a string is a Terra validator pubkey

    Parameters

    • data: string

      string to check

    Returns boolean