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

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

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

Parameters

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

Returns

string