Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ValAddress

Index

Functions

fromAccAddress

  • Converts a Terra account address to a validator address.

    Parameters

    • address: string

      account address to convert

    Returns ValAddress

validate

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

    Parameters

    • data: string

      string to check

    Returns boolean