UNPKG

okex-api

Version:

A modern, asynchronous, and easy-to-use [Okx API](https://www.okx.com/docs-v5) wrapper for Node.js/bun/Web Browser/Cloudflare workers.

24 lines (23 loc) 533 B
export interface GetLendingOrderListRequest { ordId?: string; ccy?: string; term?: '30D'; state?: 'pending' | 'earning' | 'expired' | 'settled'; after?: string; before?: string; limit?: string; } export interface LendingOrder { ccy: string; amt: string; rate?: string; term: '30D'; autoRenewal?: boolean; } export interface GetLendingSubOrderListRequest { ordId: string; state?: 'earning' | 'expired' | 'settled'; after?: string; before?: string; limit?: string; }