getTransactionByHash method

Future getTransactionByHash(
  1. String txHash
)

Implementation

Future<dynamic> getTransactionByHash(String txHash) async {
  final path = "$endpoint/transactions/by_hash/$txHash";
  final resp = await http.get(path);
  return resp.data;
}