Function validateAddress

  • Function to validate a Dash address for a given network.

    Parameters

    • address: string

      The Dash address to validate.

    • network: Network

      The network type (Mainnet, Testnet, or Stagenet).

    Returns boolean

    True if the address is valid for the network, false otherwise.

Generated using TypeDoc