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