UNPKG

eth-janus

Version:

Indirection service

32 lines (31 loc) 811 B
export declare class OnetimeKey { networkId: string; address: string; publicKey: string; constructor(fields: Partial<OnetimeKey> & {}); } export declare enum MessageType { Unassigned = 0, "OnetimeKeyRequest" = 1, "OnetimeKeyResponse" = 2 } export declare class Message { type: MessageType; payload: string; signature: string; constructor(fields: Partial<Message> & {}); } export declare class OnetimeKeyRequest { transactionId: string; networkId: string; sender: string; recepient: string; constructor(fields: Partial<OnetimeKeyRequest> & {}); } export declare class OnetimeKeyResponse { transactionId: string; networkId: string; sender: string; onetimeKey: OnetimeKey; constructor(fields: Partial<OnetimeKeyResponse> & {}); }