@ln-markets/sdk
Version:
TypeScript SDK for LNMarkets API v2
13 lines (12 loc) • 332 B
TypeScript
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;
}>;