UNPKG

@gear-js/api

Version:

A JavaScript library that provides functionality to connect GEAR Component APIs.

4 lines (3 loc) 201 B
import { HexString } from '@polkadot/util/types'; export declare function decodeAddress(publicKey: string): HexString; export declare function encodeAddress(publicKeyRaw: string | Uint8Array): string;