ConnectionEnd: {
    decode(input: Uint8Array | Reader, length?: number): ConnectionEnd;
    encode(message: ConnectionEnd, writer?: Writer): Writer;
    fromJSON(object: any): ConnectionEnd;
    fromPartial<I>(object: I): ConnectionEnd;
    toJSON(message: ConnectionEnd): unknown;
}

Type declaration

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

      • I extends {
            clientId?: string;
            counterparty?: { clientId?: string | undefined; connectionId?: string | undefined; prefix?: { keyPrefix?: Uint8Array | undefined; } | undefined; };
            delayPeriod?: number;
            state?: State;
            versions?: ({ identifier?: string | undefined; features?: string[] | undefined; })[];
        } & {
            clientId?: string;
            counterparty?: {
                clientId?: string;
                connectionId?: string;
                prefix?: { keyPrefix?: Uint8Array | undefined; };
            } & ({ clientId?: string | undefined; connectionId?: string | undefined; prefix?: ({ keyPrefix?: Uint8Array | undefined; } & { keyPrefix?: Uint8Array | undefined; } & { [K in Exclude<...>]: never; }) | undefined; }) & { [ K in string | number | symbol]: never };
            delayPeriod?: number;
            state?: State;
            versions?: {
                features?: string[];
                identifier?: string;
            }[] & ({
                features?: string[];
                identifier?: string;
            } & ({ identifier?: string | undefined; features?: (string[] & string[] & { [K in Exclude<keyof I["versions"][number]["features"], keyof string[]>]: never; }) | undefined; }) & { [ K in string | number | symbol]: never })[] & { [ K in string | symbol]: never };
        } & { [ K in string | number | symbol]: never }

      Parameters

      • object: I

      Returns ConnectionEnd

  • toJSON:function

Generated using TypeDoc