UNPKG

verifiablecredentials-crypto-sdk-typescript-protocols-common

Version:
19 lines (18 loc) 385 B
import { TSMap } from "typescript-map"; /** * Genereric type to model crypto tokens */ export interface ICryptoToken extends TSMap<string, any> { /** * get the format of the crypto token */ tokenFormat(): string; /** * Serialize a a @interface ICryptoToken */ serialize(): string; /** * Convert token to json */ toJson(): any; }