UNPKG

@bsv/wallet-toolbox

Version:

BRC100 conforming wallet, wallet storage and wallet signer components

27 lines 978 B
import { ArcSSEClient } from '../../services/providers/ArcSSEClient'; import { Monitor } from '../Monitor'; import { WalletMonitorTask } from './WalletMonitorTask'; /** * Monitor task that receives transaction status updates from Arcade via SSE * and processes them — including fetching merkle proofs directly from Arcade * when transactions are MINED. */ export declare class TaskArcadeSSE extends WalletMonitorTask { static taskName: string; sseClient: ArcSSEClient | null; private pendingEvents; constructor(monitor: Monitor); asyncSetup(): Promise<void>; trigger(_nowMsecsSinceEpoch: number): { run: boolean; }; runTask(): Promise<string>; fetchNow(): Promise<number>; private processStatusEvent; /** * Fetch the merklePath from Arcade's GET /tx/{txid} endpoint and * create a ProvenTx record, completing the transaction. */ private fetchProofFromArcade; } //# sourceMappingURL=TaskArcSSE.d.ts.map