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

x/polkadot/util-crypto/address/index.ts>checkAddress

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

Parameters

address: HexString | string
prefix: Prefix

Returns

[boolean, string | null]