verifyNostrEvent function

Future<bool> verifyNostrEvent({
  1. required String eventIdHex,
  2. required String pubKeyHex,
  3. required BigInt createdAt,
  4. required int kind,
  5. required List<List<String>> tags,
  6. required String content,
  7. required String signatureHex,
})

Implementation

Future<bool> verifyNostrEvent(
        {required String eventIdHex,
        required String pubKeyHex,
        required BigInt createdAt,
        required int kind,
        required List<List<String>> tags,
        required String content,
        required String signatureHex}) =>
    RustLib.instance.api.crateApiEventVerifierVerifyNostrEvent(
        eventIdHex: eventIdHex,
        pubKeyHex: pubKeyHex,
        createdAt: createdAt,
        kind: kind,
        tags: tags,
        content: content,
        signatureHex: signatureHex);