Module

x/polkadot/mod.ts>utilCrypto.checkAddress

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

Parameters

address: HexString | string
prefix: Prefix

Returns

[boolean, string | null]