getTxStatus method
Returns the transaction confirmation status.
Implementation
Future<Status> getTxStatus(String txid) async {
var response = await http.get(Uri.parse("$url/api/tx/$txid/status"));
dynamic json = jsonDecode(response.body);
return Status.fromJson(json);
}