HeliumOraclePricesClient class

Operations on the Oracle Prices API. https://docs.helium.com/api/blockchain/oracle-prices

Constructors

HeliumOraclePricesClient(HeliumClient _client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCurrentAndHistoricalOraclePrices() Future<HeliumPagedResponse<List<HeliumOraclePrice>>>
Gets the current and historical Oracle Prices and at which block they took effect.
getCurrentOraclePrice() Future<HeliumResponse<HeliumOraclePrice>>
Gets the current Oracle Price and at which block it took effect.
getOraclePrice(int block) Future<HeliumResponse<HeliumOraclePrice>>
Gets the Oracle Price at a specific block and at which block it initially took effect.
getOraclePriceStats(DateTime minTime, DateTime maxTime) Future<HeliumResponse<HeliumOraclePriceStats>>
Gets statistics on Oracle Prices.
getPredictedOraclePrices() Future<HeliumResponse<List<HeliumOraclePricePredictions>>>
Returns a list of times when the Oracle Price is expected to change.
listOracleActivity({DateTime? minTime, DateTime? maxTime, int? limit}) Future<HeliumPagedResponse<List<HeliumTransactionPriceOracleV1>>>
Lists the Oracle Price report transactions for all oracle keys.
listOracleActivityForOracle(String address, {DateTime? minTime, DateTime? maxTime, int? limit}) Future<HeliumPagedResponse<List<HeliumTransactionPriceOracleV1>>>
Lists the Oracle Price report transactions for the given oracle key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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