Skip to content
LogoLogo

TempoAddress.validate

Validates a Tempo address string.

Usage

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

Parameters

tempoAddress

  • Type: string

The Tempo address string to validate.

Return Type

boolean

Whether the address is valid.