HeliumBlockchainClient constructor

HeliumBlockchainClient({
  1. String baseUrl = STABLE_URL,
})

Creates a new client for the Helium Blockchain API.

The client uses the Stable API endpoint by default. To use a different API endpoint, specify baseUrl. For example, to use the Beta API, set baseUrl to BETA_URL.

Implementation

HeliumBlockchainClient({
  String baseUrl = STABLE_URL,
}) : _base = Uri.parse(baseUrl) {
  hotspots = HeliumHotspotClient._(this);
  prices = HeliumOraclePricesClient._(this);
  transactions = HeliumTransactionsClient._(this);
}