BinanceFutures class

Available Extensions

Constructors

BinanceFutures({String? key, String? secret})

Properties

apiKey String
no getter
apiSecret String
no getter
endpoint String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestampDifference int
getter/setter pair
wsEndpoint String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendRequest({required String path, required RequestType type, bool keyRequired = false, bool signatureRequired = false, bool timestampRequired = false, Map<String, String>? params}) Future<Either<String, dynamic>>
Helper function to perform any kind of request to Binance API
subscribe(String channel) → IOWebSocketChannel
Helper function to subscribe to any websocket stream from Binance API
syncWithServerTime() Future<bool>
Call this function if you keep getting an error about server time
toList(dynamic json) List<Map>
toMap(dynamic json) Map
toString() String
A string representation of this object.
inherited

Operators

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