OracleService class

Constructors

OracleService(String endpoint)

Properties

endpoint String
endpoint is the HTTP URL to a Archethic node (acting as welcome node)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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
subscribe() Future<Stream<OracleUcoPrice>>
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