Skip to content

TempoAddress.validate

Validates a Tempo address string.

Imports

Named
import { TempoAddress } from 'ox/tempo'

Examples

import { TempoAddress } from 'ox/tempo'
 
const valid = TempoAddress.validate(
  'tempo1qp6z6dwvvc6vq5efyk3ms39une6etu4a9qtj2kk0',
)
true

Definition

function validate(
  tempoAddress: string,
): boolean

Source: src/tempo/TempoAddress.ts

Parameters

tempoAddress

  • Type: string

The Tempo address string to validate.

Return Type

Whether the address is valid.

boolean