Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace AccPubKey

Index

Functions

fromAccAddress

  • Converts a Terra validator pubkey to an account pubkey.

    Parameters

    • address: string

      validator pubkey to convert

    Returns AccPubKey

validate

  • validate(data: string): boolean
  • Checks if a string is a Terra account's public key

    Parameters

    • data: string

      string to check

    Returns boolean