hasHeliusKeyProvider top-level property

Provider<bool> hasHeliusKeyProvider
final

Derived provider that is true when the active RPC URL points to Helius.

Implementation

final hasHeliusKeyProvider = Provider<bool>((ref) {
  final rpcUrl = ref.watch(rpcUrlProvider);
  return rpcUrl.contains('helius-rpc.com');
});