UNPKG

@ln-markets/sdk

Version:
16 lines 472 B
import type { KyInstance } from 'ky'; export interface NewSwapOutput { inAmount: number; inAsset: 'BTC' | 'USD'; outAmount: number; outAsset: 'BTC' | 'USD'; } export interface NewSwapInput { inAmount: number; inAsset: 'BTC' | 'USD'; outAsset: 'BTC' | 'USD'; } type NewSwap = (input: NewSwapInput) => Promise<NewSwapOutput>; export declare const createNewSwap: (instance: KyInstance) => NewSwap; export {}; //# sourceMappingURL=new-swap.d.ts.map