HeliumTransactionPriceOracleV1 class

The price_oracle_v1 transaction.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

HeliumTransactionPriceOracleV1({required HeliumTransactionType type, required String hash, required int height, required DateTime time, required int price, required String publicKey, required int blockHeight, required int fee})
Creates a new instance.
HeliumTransactionPriceOracleV1.fromJson(Map<String, dynamic> json)
Creates an instance from a map derived from the JSON serialization.
factory

Properties

blockHeight int
The block height to report the price.
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
price int
The price of 1 HNT in thousandths of a DC or hundred-millionths of a USD.
final
publicKey String
The Oracle's public key.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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