getLogs method
Returns the Logs
Implementation
Future<JsonListNested> getLogs({
required String address,
required List<String?> topics,
required dynamic fromBlock,
required dynamic toBlock,
}) async {
final response = await _call<JsonList>(
'eth_getLogs',
args: [
{
'address': address,
'topics': topics,
'fromBlock': dynToHex(fromBlock),
'toBlock': dynToHex(toBlock),
}
],
);
return response.cast<Json>();
}