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

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

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

Parameters

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

Returns

string