crateApiEventVerifierHashEventData method
Future<String>
crateApiEventVerifierHashEventData({
- required String pubkey,
- required BigInt createdAt,
- required int kind,
- required List<
List< tags,String> > - required String content,
override
Implementation
@override
Future<String> crateApiEventVerifierHashEventData(
{required String pubkey,
required BigInt createdAt,
required int kind,
required List<List<String>> tags,
required String content}) {
return handler.executeNormal(NormalTask(
callFfi: (port_) {
final serializer = SseSerializer(generalizedFrbRustBinding);
sse_encode_String(pubkey, serializer);
sse_encode_u_64(createdAt, serializer);
sse_encode_u_16(kind, serializer);
sse_encode_list_list_String(tags, serializer);
sse_encode_String(content, serializer);
pdeCallFfi(generalizedFrbRustBinding, serializer,
funcId: 1, port: port_);
},
codec: SseCodec(
decodeSuccessData: sse_decode_String,
decodeErrorData: null,
),
constMeta: kCrateApiEventVerifierHashEventDataConstMeta,
argValues: [pubkey, createdAt, kind, tags, content],
apiImpl: this,
));
}