Add a contract to be watched.
Active contracts are immediately subscribed. All contracts are polled to discover any existing VTXOs (which may cause them to be watched even if inactive).
Force a poll of all active contracts. Useful for manual refresh or after app resume.
Get all active in-memory contracts.
Get all in-memory contracts.
Get current connection state.
Check if currently watching.
Remove a contract from watching.
Start watching for VTXO events across all active contracts.
Stop watching for events.
Watches multiple contracts for VTXO changes with resilient connection handling.
Features:
Example