getPublicNip51RelaySets method

Future<List<Nip51Set>?> getPublicNip51RelaySets({
  1. required int kind,
  2. required String publicKey,
  3. bool forceRefresh = false,
})

Implementation

Future<List<Nip51Set>?> getPublicNip51RelaySets({
  required int kind,
  required String publicKey,
  bool forceRefresh = false,
}) async {
  final mySigner = Bip340EventSigner(privateKey: null, publicKey: publicKey);
  return getNip51RelaySets(kind, mySigner, forceRefresh: forceRefresh);
}