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

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

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

Parameters

key: HexString | Uint8Array | string
optional
ss58Format: Prefix = [UNSUPPORTED]

Returns

string