MessageIn: {
    create<I>(base?): MessageIn;
    decode(input, length?): MessageIn;
    encode(message, writer?): Writer;
    fromJSON(object): MessageIn;
    fromPartial<I>(object): MessageIn;
    toJSON(message): unknown;
}

Type declaration

  • create:function
    • Type Parameters

      • I extends {
            abort?: boolean;
            keygenInit?: {
                myPartyIndex?: number;
                newKeyUid?: string;
                partyShareCounts?: number[];
                partyUids?: string[];
                threshold?: number;
            };
            signInit?: {
                keyUid?: string;
                messageToSign?: Uint8Array;
                newSigUid?: string;
                partyUids?: string[];
            };
            traffic?: {
                fromPartyUid?: string;
                isBroadcast?: boolean;
                payload?: Uint8Array;
            };
        } & {
            abort?: boolean;
            keygenInit?: {
                myPartyIndex?: number;
                newKeyUid?: string;
                partyShareCounts?: number[];
                partyUids?: string[];
                threshold?: number;
            } & {
                myPartyIndex?: number;
                newKeyUid?: string;
                partyShareCounts?: number[] & number[] & {
                    [K in string | symbol]: never
                };
                partyUids?: string[] & string[] & {
                    [K in string | symbol]: never
                };
                threshold?: number;
            } & {
                [K in string | number | symbol]: never
            };
            signInit?: {
                keyUid?: string;
                messageToSign?: Uint8Array;
                newSigUid?: string;
                partyUids?: string[];
            } & {
                keyUid?: string;
                messageToSign?: Uint8Array;
                newSigUid?: string;
                partyUids?: string[] & string[] & {
                    [K in string | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
            traffic?: {
                fromPartyUid?: string;
                isBroadcast?: boolean;
                payload?: Uint8Array;
            } & {
                fromPartyUid?: string;
                isBroadcast?: boolean;
                payload?: Uint8Array;
            } & {
                [K in string | number | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • Optional base: I

      Returns MessageIn

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Type Parameters

      • I extends {
            abort?: boolean;
            keygenInit?: {
                myPartyIndex?: number;
                newKeyUid?: string;
                partyShareCounts?: number[];
                partyUids?: string[];
                threshold?: number;
            };
            signInit?: {
                keyUid?: string;
                messageToSign?: Uint8Array;
                newSigUid?: string;
                partyUids?: string[];
            };
            traffic?: {
                fromPartyUid?: string;
                isBroadcast?: boolean;
                payload?: Uint8Array;
            };
        } & {
            abort?: boolean;
            keygenInit?: {
                myPartyIndex?: number;
                newKeyUid?: string;
                partyShareCounts?: number[];
                partyUids?: string[];
                threshold?: number;
            } & {
                myPartyIndex?: number;
                newKeyUid?: string;
                partyShareCounts?: number[] & number[] & {
                    [K in string | symbol]: never
                };
                partyUids?: string[] & string[] & {
                    [K in string | symbol]: never
                };
                threshold?: number;
            } & {
                [K in string | number | symbol]: never
            };
            signInit?: {
                keyUid?: string;
                messageToSign?: Uint8Array;
                newSigUid?: string;
                partyUids?: string[];
            } & {
                keyUid?: string;
                messageToSign?: Uint8Array;
                newSigUid?: string;
                partyUids?: string[] & string[] & {
                    [K in string | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
            traffic?: {
                fromPartyUid?: string;
                isBroadcast?: boolean;
                payload?: Uint8Array;
            } & {
                fromPartyUid?: string;
                isBroadcast?: boolean;
                payload?: Uint8Array;
            } & {
                [K in string | number | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • object: I

      Returns MessageIn

  • toJSON:function

Generated using TypeDoc