HeliumTransactionAssertLocationV1 class

The assert_location_v1 transaction.

Inheritance
Implementers
Annotations
  • @JsonSerializable()

Constructors

HeliumTransactionAssertLocationV1({required HeliumTransactionType type, required String hash, required int height, required DateTime time, required int fee, required int stakingFee, required String gateway, required String owner, required String payer, required String location, required double lat, required double lng, required int nonce})
Creates a new instance.
HeliumTransactionAssertLocationV1.fromJson(Map<String, dynamic> json)
Creates an instance from a map derived from the JSON serialization.
factory

Properties

fee int
The transaction fee, in DC.
final
gateway String
The address of the gateway to add. This is the address used in the Hotspots API.
final
hash String
The transaction hash.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height int
The block containing the transaction.
finalinherited
lat double
The latitude in degrees.
final
lng double
The longitude in degrees.
final
location String
The H3 index of the asserted location.
final
nonce int
final
owner String
The wallet address of the gateway owner.
final
payer String
The wallet address of the fee payer. For the first location assertion, this will be the address of the hotspot maker's wallet since they pay the initial hotspot fees. Subsequent location assertions will be from a different wallet.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stakingFee int
The fee, in DC, to add the gateway. See: https://docs.helium.com/blockchain/transaction-fees/
final
time DateTime
The transaction time.
finalinherited
type HeliumTransactionType
The type of transaction.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Creates a map suitable for serialization to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited