requestWriteContract method
Future
requestWriteContract({
- required String topic,
- required String chainId,
- required DeployedContract deployedContract,
- required String functionName,
- required Transaction transaction,
- String? method,
- 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 signEngine.requestWriteContract(
topic: topic,
chainId: chainId,
deployedContract: deployedContract,
functionName: functionName,
transaction: transaction,
method: method,
parameters: parameters,
);
} catch (e) {
rethrow;
}
}