getUserOpTransactionHash method

Future<String?> getUserOpTransactionHash(
  1. String? userOpHash
)

Implementation

Future<String?> getUserOpTransactionHash(String? userOpHash) async {
  try {
    RPCModel response = await _makeRpcRequest(
        'eth_getUserOperationByHash', bundlerURL, [userOpHash]);
    return response.userOpHash!;
  } catch (e) {
    print(e);
  }
}