requestWriteContract method

  1. @override
Future requestWriteContract({
  1. required String topic,
  2. required String chainId,
  3. required DeployedContract deployedContract,
  4. required String functionName,
  5. required Transaction transaction,
  6. String? method,
  7. List parameters = const [],
})
override

Implementation

@override
Future<dynamic> requestWriteContract({
  required String topic,
  required String chainId,
  required DeployedContract deployedContract,
  required String functionName,
  required Transaction transaction,
  String? method,
  List parameters = const [],
}) async {
  try {
    return await reOwnSign.requestWriteContract(
      topic: topic,
      chainId: chainId,
      deployedContract: deployedContract,
      functionName: functionName,
      transaction: transaction,
      method: method,
      parameters: parameters,
    );
  } catch (e) {
    rethrow;
  }
}