OracleService class
Constructors
- OracleService(String? endpoint)
Properties
Methods
-
closeOracleUpdatesSubscription(
ArchethicOracle archethicOracle) → void - Close the subscription.
-
getOracleData(
{int timestamp = 0}) → Future< OracleUcoPrice> - Returns a value of Oracle Uco_Price in {OracleUcoPrice} from a timestamp.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribeToOracleUpdates(
dynamic onUpdate(OracleUcoPrice?)) → Future< ArchethicOracle> - Subscribe to notifications 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