interface IRPCResponse<T> {
    error?: {
        code: number;
        message: string;
    };
    id: number;
    requesterId: string;
    result: T;
    type: "response";
}

Type Parameters

  • T

Properties

error?: {
    code: number;
    message: string;
}

Type declaration

  • code: number
  • message: string
id: number
requesterId: string
result: T
type: "response"