publicServiceClient static method

Future<HeraPublicClient> publicServiceClient(
  1. String url,
  2. TransportCredentials transportCredentials
)

Implementation

static Future<HeraPublicClient> publicServiceClient(
    String url, TransportCredentials transportCredentials) async {
  var uri = Uri.parse(url);
  return HeraPublicClient(GrpcWebClientChannel.xhr(uri));
}