UNPKG

@ln-markets/sdk

Version:

TypeScript SDK for LNMarkets API v2

9 lines (8 loc) 353 B
import type { RestFetcher } from '../../rest.js'; import type { OptionsSettlement, OptionsSide, OptionsTradeRunning } from './types.js'; export declare const createNewTrade: (request: RestFetcher) => (body: { instrumentName: string; quantity: number; settlement: OptionsSettlement; side: OptionsSide; }) => Promise<OptionsTradeRunning>;