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

x/polkadot/mod.ts>utilCrypto.checkAddress

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

Parameters

address: string
prefix: Prefix

Returns

[boolean, string | null]