UNPKG

380 BTypeScriptView Raw
1import type { HexString } from '@polkadot/util/types';
2import type { HashType } from '../secp256k1/types';
3import type { Prefix } from './types';
4/**
5 * @name evmToAddress
6 * @summary Converts an EVM address to its corresponding SS58 address.
7 */
8export declare function evmToAddress(evmAddress: HexString | string | Uint8Array, ss58Format?: Prefix, hashType?: HashType): string;