calculateWitness method

  1. @override
Future<Uint8List?> calculateWitness({
  1. required String inputs,
  2. required Uint8List graphData,
})
override

Implementation

@override
Future<Uint8List?> calculateWitness({
  required String inputs,
  required Uint8List graphData,
}) async {
  final witness = await methodChannel.invokeMethod<Uint8List>(
    'calculateWitness',
    {
      'inputs': inputs,
      'graphData': graphData,
    },
  );

  return witness;
}