@ln-markets/sdk
Version:
TypeScript SDK for LNMarkets API
27 lines • 664 B
TypeScript
import type { KyInstance } from 'ky';
export interface GetLeaderboardOutput {
'all-time': {
direction: number;
pl: number;
username: string;
}[];
daily: {
direction: number;
pl: number;
username: string;
}[];
monthly: {
direction: number;
pl: number;
username: string;
}[];
weekly: {
direction: number;
pl: number;
username: string;
}[];
}
type GetLeaderboard = () => Promise<GetLeaderboardOutput>;
export declare const createGetLeaderboard: (instance: KyInstance) => GetLeaderboard;
export {};
//# sourceMappingURL=leaderboard.d.ts.map