@ln-markets/sdk
Version:
TypeScript SDK for LNMarkets API
20 lines • 580 B
TypeScript
import type { KyInstance } from 'ky';
export interface WithdrawOnChainInput {
address: string;
amount: number;
}
export interface WithdrawOnChainOutput {
address: string;
amount: number;
createdAt: string;
fee: null | number;
id: string;
status: 'pending';
txId: null;
uid: string;
updatedAt: string;
}
type WithdrawOnChain = (input: WithdrawOnChainInput) => Promise<WithdrawOnChainOutput>;
export declare const createWithdrawOnChain: (instance: KyInstance) => WithdrawOnChain;
export {};
//# sourceMappingURL=withdraw-on-chain.d.ts.map