getTransactionInfo method

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

Implementation

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