@moosty/lisk-htlc
Version:
Hashed Time Lock Contract transaction for Lisk SDK based blockchain applications
67 lines (66 loc) • 1.42 kB
TypeScript
export declare const HTLCAssetUnlockFormatSchema: {
type: string;
required: string[];
properties: {
contractId: {
type: string;
format: string;
};
secret: {
type: string;
format: string;
maxLength: number;
};
};
};
export declare const HTLCAssetRefundFormatSchema: {
type: string;
required: string[];
properties: {
contractId: {
type: string;
format: string;
};
data: {
type: string;
format: string;
maxLength: number;
};
};
};
export declare const HTLCAssetLockFormatSchema: {
type: string;
required: string[];
properties: {
contractId: {
type: string;
format: string;
};
amount: {
type: string;
format: string;
};
type: {
type: string;
maxLength: number;
};
time: {
type: string;
min: number;
};
data: {
type: string;
format: string;
maxLength: number;
};
secretLength: {
type: string;
min: number;
max: number;
};
recipientPublicKey: {
type: string;
maxLength: number;
};
};
};