Interface IResponse

interface IResponse {
    env: string;
    error?: {
        code: number;
        message: string;
    };
    id: number;
    method: string;
    result?: {
        success: boolean;
    };
}

Properties

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

Type declaration

  • code: number
  • message: string
id: number
method: string
result?: {
    success: boolean;
}

Type declaration

  • success: boolean