OracleService class
Constructors
- OracleService(String? endpoint)
Properties
Methods
-
closeOracleUpdatesSubscription(
ArchethicOracle archethicOracle) → void - Close the subscription
-
getOracleData(
{int timestamp = 0}) → Future< OracleUcoPrice> - return a value of Oracle Uco_Price in {OracleUcoPrice} from a timestamp if timestamp = 0 or not precised, the last price is returned @param {int} timestamp
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribeToOracleUpdates(
dynamic onUpdate(OracleUcoPrice?)) → Future< ArchethicOracle> - Subscribe to be notified when a new oracle data is stored
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited