HeliumTransactionPoCReceiptsV1 class

The poc_receipts_v1 transaction.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

HeliumTransactionPoCReceiptsV1({required HeliumTransactionType type, required String hash, required int height, required DateTime time, required String challenger, required String challengerOwner, required String challengerLocation, required double challengerLat, required double challengerLon, required List<HeliumPoCPathElement> path, required String secret, required String onionKeyHash, String? requestBlockHash, required int fee})
Creates a new instance.
HeliumTransactionPoCReceiptsV1.fromJson(Map<String, dynamic> json)
Creates an instance from a map derived from the JSON serialization.
factory

Properties

challenger String
The B58 address of the hotspot that created the challenge.
final
challengerLat double
The latitude of the hotspot that created the challenge, in degrees.
final
challengerLocation String
The H3 index of the res 12 hex of the hotspot that created the challenge.
final
challengerLon double
The latitude of the hotspot that created the challenge, in degrees.
final
challengerOwner String
The wallet address of the owner of the hotspot that created the challenge.
final
fee int
The transaction fee, in DC.
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
onionKeyHash String
The onionKeyHash of the PoC challenge transaction.
final
path List<HeliumPoCPathElement>
The Proof of Coverage path.
final
requestBlockHash String?
The block containing the transaction that created the PoC challenge.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String
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