@elysium-onchain-id/identity-sdk
Version:
Interact with BlockChain Identities.
13 lines (12 loc) • 485 B
TypeScript
import { arrayify, defaultAbiCoder } from 'ethers/lib/utils';
export declare function toHex(message: string): string;
export type HexString = string;
export declare function isHexString(value: any): value is HexString;
/**
* Check if an URI is valid.
* @param value
* @return True if the uri is secured.
*/
export declare function isValidURI(value: any): boolean;
export declare function encodeAndHash(types: string[], values: any[]): string;
export { arrayify, defaultAbiCoder };