requestReadContract method
Future<List>
requestReadContract({
- required DeployedContract deployedContract,
- required String functionName,
- required String rpcUrl,
- EthereumAddress? sender,
- List parameters = const [],
override
Implementation
@override
Future<List<dynamic>> requestReadContract({
required DeployedContract deployedContract,
required String functionName,
required String rpcUrl,
EthereumAddress? sender,
List<dynamic> parameters = const [],
}) async {
try {
return await signEngine.requestReadContract(
sender: sender,
deployedContract: deployedContract,
functionName: functionName,
rpcUrl: rpcUrl,
parameters: parameters,
);
} catch (e) {
rethrow;
}
}