HeliumOraclePricesClient class

Operations on the Oracle Prices API.

https://docs.helium.com/api/blockchain/oracle-prices

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

getActivity(String address, {DateTime? minTime, DateTime? maxTime, int? limit}) Future<HeliumPagedResponse<List<HeliumTransactionPriceOracleV1>>>
Lists the Oracle Price report transactions for the given oracle key.
getAllActivity({DateTime? minTime, DateTime? maxTime, int? limit}) Future<HeliumPagedResponse<List<HeliumTransactionPriceOracleV1>>>
Lists the Oracle Price report transactions for all oracle keys.
getByBlock(int block) Future<HeliumResponse<HeliumOraclePrice>>
Gets the Oracle Price at a specific block and at which block it initially took effect.
getCurrent() Future<HeliumResponse<HeliumOraclePrice>>
Gets the current Oracle Price and at which block it took effect.
getCurrentAndHistoric() Future<HeliumPagedResponse<List<HeliumOraclePrice>>>
Gets the current and historical Oracle Prices and at which block they took effect.
getPredicted() Future<HeliumResponse<List<HeliumOraclePricePrediction>>>
Returns a list of times when the Oracle Price is expected to change.
getStats(DateTime minTime, DateTime maxTime) Future<HeliumResponse<HeliumOraclePriceStats>>
Gets statistics on Oracle Prices.
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