HeliumHotspot class
Constructors
-
HeliumHotspot({required String address, required int block, required int blockAdded, required HeliumGeocode geocode, double? lat, double? lng, String? location, String? locationHex, required String name, required int nonce, num? speculativeNonce, required DateTime timestampAdded, double? rewardScale, required String? payer, required String owner, required HeliumHotspotMode mode, required HeliumHotspotStatus status, int? lastPoCChallenge, required int lastChangeBlock, required int gain, required int elevation})
-
-
HeliumHotspot.fromJson(Map<String, dynamic> json)
-
factory
Properties
-
address
→ String
-
The B58 address of the hotspot.
final
-
block
→ int
-
This seems to be the highest block known to the API; doesn't seem to
have any relationship to the hotspot itself.
final
-
blockAdded
→ int
-
The block where this hotspot was added to the blockchain.
final
-
elevation
→ int
-
The antenna elevation above ground level in metres.
This is the value from the most recent location assertion transaction.
final
-
gain
→ int
-
The antenna gain in tenths of a dBi.
This is the value from the most recent location assertion transaction.
final
-
geocode
→ HeliumGeocode
-
The region (city) where the hotspot is located.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
lastChangeBlock
→ int
-
final
-
lastPoCChallenge
→ int?
-
The block where this hotspot last issued a proof-of-coverage challenge.
final
-
lat
→ double?
-
The latitude of this hotspot, in degrees.
This is the value from the most recent location assertion transaction.
final
-
lng
→ double?
-
The longitude of this hotspot, in degrees.
This is the value from the most recent location assertion transaction.
final
-
location
→ String?
-
The H3 index of the res 12 hex where the hotspot is located.
final
-
locationHex
→ String?
-
The H3 index of the res 8 hex where the hotspot is located.
final
-
mode
→ HeliumHotspotMode
-
The type of hotspot.
final
-
name
→ String
-
The name 3-word animal name of the hotspot
final
-
nonce
→ int
-
final
-
owner
→ String
-
The wallet address of the hotspot's owner.
final
-
payer
→ String?
-
The wallet address that paid for the transaction that added this hotspot
to the blockchain.
final
-
rewardScale
→ double?
-
The hotspot's PoC transmission reward scale.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
speculativeNonce
→ num?
-
The speculative nonce, only filled out when a single hotspot is requested
by address.
final
-
status
→ HeliumHotspotStatus
-
Operational status of this hotspot.
final
-
timestampAdded
→ DateTime
-
The time of the block in blockAdded.
final