UNPKG

@ln-markets/sdk

Version:

TypeScript SDK for LNMarkets API v2

13 lines (12 loc) 332 B
import type { UUID } from '../../index.js'; import type { RestFetcher } from '../../rest.js'; export declare const createWithdraw: (request: RestFetcher) => (body: { invoice: string; quoteId?: UUID; }) => Promise<{ amount?: number; fee?: number; id: UUID; paymentHash?: string; successTime?: number; }>;