Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/util-crypto/mod.ts>checkAddress

Package publishing for deno.land/x/polkadot
Go to Latest
function checkAddress
import { checkAddress } from "https://deno.land/x/polkadot@0.2.27/util-crypto/mod.ts";

Parameters

address: HexString | string
prefix: Prefix

Returns

[boolean, string | null]