UNPKG

296 BTypeScriptView Raw
1import type { Prefix } from './types.js';
2/**
3 * @name checkAddress
4 * @summary Validates an ss58 address.
5 * @description
6 * From the provided input, validate that the address is a valid input.
7 */
8export declare function checkAddress(address: string, prefix: Prefix): [boolean, string | null];