ontology-ts-sdk
Version:
Comprehensive TypeScript library for the Ontology blockchain.
14 lines (13 loc) • 320 B
TypeScript
/**
* Interface for other classes to implement, which should be signable.
*/
export interface Signable {
/**
* Get the sign content of object
*/
getSignContent(): string;
/**
* Gets the raw serialized content of signable object without hashing
*/
serializeUnsignedData(): string;
}