UNPKG

wowok

Version:

Wowok Blockchain TypeScript API

15 lines (14 loc) 723 B
export declare function isValidTransactionDigest(value: string): value is string; export declare const WOW_ADDRESS_LENGTH = 32; export declare function isValidWowAddress(value: string): value is string; export declare function isValidWowObjectId(value: string): boolean; export type StructTag = { address: string; module: string; name: string; typeParams: (string | StructTag)[]; }; export declare function parseStructTag(type: string): StructTag; export declare function normalizeStructTag(type: string | StructTag): string; export declare function normalizeWowAddress(value: string, forceAdd0x?: boolean): string; export declare function normalizeWowObjectId(value: string, forceAdd0x?: boolean): string;