Nobitex class

Wrapper class for Nobitex REST API.

Constructors

Nobitex({String basePath = 'api.nobitex.ir'})
Constructor of the API wrapper for communication.

Properties

basePath String
Url to use for the REST requests.
getter/setter pair
client ↔ Client
HTTP client that is used for the communication over the REST API.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
Default HTTP headers for all requests.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getMarketStats({required String srcCurrency, required String dstCurrency}) Future<Map<String, dynamic>?>
Receive recent market statistics.
getProfile() Future<Map<String, dynamic>?>
Returns your profile information, bank card, bank account, verifications, profile settings and summary of your transaction statistics.
getWalletAddress({required String wallet}) Future<Map<String, dynamic>?>
Generate or receive a blockchain address
getWalletBalance({required String currency}) Future<Map<String, dynamic>?>
Receive the balance of fiat and cryptocurrency wallets
getWalletRecords() Future<Map<String, dynamic>?>
Receive a list of deposits and withdrawals
getWallets() Future<Map<String, dynamic>?>
Get a list of user wallets
login({required String username, required String password, String? totp}) Future<void>
Receive authentication token by username and password
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