Skip to main content
Module

x/polkadot/mod.ts>utilCrypto.checkAddress

Package publishing for deno.land/x/polkadot
Go to Latest
function utilCrypto.checkAddress
import { utilCrypto } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { checkAddress } = utilCrypto;

Parameters

address: HexString | string
prefix: Prefix

Returns

[boolean, string | null]