getHash method

Future<String> getHash({
  1. required dynamic userOp,
  2. required int validUntil,
  3. required int validAfter,
})

Implementation

Future<String> getHash({
  required dynamic userOp,
  required int validUntil,
  required int validAfter,
}) async {
  var res = await contract.call(
    'getHash',
    [userOp, BigInt.from(validUntil), BigInt.from(validAfter)],
  );
  print("res " + res);
  return res as String;
}