mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 04:27:59 +00:00
9 lines
296 B
TypeScript
9 lines
296 B
TypeScript
import type { Prefix } from './types.js';
|
|
/**
|
|
* @name checkAddress
|
|
* @summary Validates an ss58 address.
|
|
* @description
|
|
* From the provided input, validate that the address is a valid input.
|
|
*/
|
|
export declare function checkAddress(address: string, prefix: Prefix): [boolean, string | null];
|