Module

x/polkadot/mod.ts>utilCrypto.evmToAddress

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

Parameters

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

Returns

string