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

x/polkadot/keyring/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.14/keyring/index.ts";

Parameters

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

Returns

string