Skip to main content
Module

x/polkadot/mod.ts>utilCrypto.evmToAddress

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

Parameters

evmAddress: HexString | string | Uint8Array
optional
ss58Format: Prefix
optional
hashType: HashType = [UNSUPPORTED]

Returns

string