swapAddressCoverageReadProvider top-level property

FutureProvider<SwapAddressCoverage?> swapAddressCoverageReadProvider
final

The render-only coverage read backing the sheet's "checked your first N swaps" line. autoDispose — it lives only while a sheet holds it, and re-pulls after a scan (the controller invalidates it). Fail-soft null on no session; a bridge fault surfaces as the FutureProvider's error arm (the sheet renders a neutral fallback, never a scary error).

Implementation

final swapAddressCoverageReadProvider =
    FutureProvider.autoDispose<SwapAddressCoverage?>((ref) async {
      final session = ref.watch(walletSessionProvider);
      if (session == null) return null;
      // Bound the local read too (rel-MED2): a wedged bridge surfaces the sheet's
      // neutral fallback line, never an indefinite spinner on the coverage cue.
      return session.swapAddressCheckCoverage().timeout(walletFfiWedgeTimeout);
    });