Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/polkadot/mod.ts>utilCrypto.decodeAddress

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

Parameters

optional
encoded: string | Uint8Array | null
optional
ignoreChecksum: boolean
optional
ss58Format: Prefix = [UNSUPPORTED]

Returns

Uint8Array