UNPKG

@ln-markets/sdk

Version:
19 lines 845 B
import type { KyInstance } from 'ky'; import type { PaginatedResponse, PaginationInput } from '../../types.js'; export type GetOnChainWithdrawalsInput = PaginationInput & { status?: 'canceled' | 'pending' | 'processed' | 'processing' | 'rejected'; }; interface OnChainWithdrawal { address: string; amount: number; createdAt: string; fee: null | number; id: string; status: 'canceled' | 'pending' | 'processed' | 'processing' | 'rejected'; txId: null | string; } export type GetOnChainWithdrawalsOutput = PaginatedResponse<OnChainWithdrawal>; type GetOnChainWithdrawals = (input?: GetOnChainWithdrawalsInput) => Promise<GetOnChainWithdrawalsOutput>; export declare const createGetOnChainWithdrawals: (instance: KyInstance) => GetOnChainWithdrawals; export {}; //# sourceMappingURL=get-on-chain-withdrawals.d.ts.map