getTransactionInfo method

Future<EVMTransactionInfo> getTransactionInfo({
  1. required String from,
  2. String? to,
  3. String? data,
  4. double? amountInMatic,
})

Implementation

Future<EVMTransactionInfo> getTransactionInfo({
  required String from,
  String? to,
  String? data,
  double? amountInMatic,
}) async {
  final res = await polygonRpcClient.getTransactionInfo(
    from: from,
    to: to,
    data: data,
    amountInEth: amountInMatic,
  );
  return res;
}