games_app/backend/dist/services/sweepService.d.ts
2026-07-02 09:21:05 +02:00

12 lines
551 B
TypeScript

/**
* Sweeps on-chain deposits from user HD addresses to cold storage.
*/
export declare function enqueueSweepAfterDeposit(userId: string, walletTypeId: number, amount: bigint, depositTransactionId: string): Promise<void>;
export declare function processPendingSweeps(opts?: {
unbatchedOnly?: boolean;
batchId?: string;
limit?: number;
}): Promise<number>;
export declare function executeApprovedBatch(batchId: string): Promise<number>;
export declare function getSweepPollIntervalMs(): number;
//# sourceMappingURL=sweepService.d.ts.map