bybit-api
Version:
Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.
29 lines (28 loc) • 667 B
TypeScript
export interface EarnProductV5 {
category: string;
estimateApr: string;
coin: string;
minStakeAmount: string;
maxStakeAmount: string;
precision: string;
productId: string;
status: 'Available' | 'NotAvailable';
}
export interface EarnOrderHistoryV5 {
coin: string;
orderValue: string;
orderType: 'Redeem' | 'Stake';
orderId: string;
orderLinkId: string;
status: 'Success' | 'Fail' | 'Pending';
createdAt: string;
productId: string;
updatedAt: string;
}
export interface EarnPositionV5 {
coin: string;
productId: string;
amount: string;
totalPnl: string;
claimableYield: string;
}