Type Alias PublicRestRequest<T>

PublicRestRequest<T>: T extends "SystemStatus" | "Time"
    ? {
        params?: never;
        url: T;
    }
    : T extends "AssetPairs" | "Ticker"
        ? {
            params?: PublicRestParams<T>;
            url: T;
        }
        : {
            params: PublicRestParams<T>;
            url: T;
        }

Type Parameters