TokenApi class

Constructors

TokenApi({required Dio dio})

Properties

dio → Dio
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

getAllSnapshots({String? offset, int limit = 30, String? opponent}) Future<MixinResponse<List<SafeSnapshot>>>
getAssetById(String id) Future<MixinResponse<Token>>
getAssets() Future<MixinResponse<List<Token>>>
getFees({required String asset, required String destination}) Future<MixinResponse<List<AssetFee>>>
getSnapshotById(String id) Future<MixinResponse<SafeSnapshot>>
getSnapshots({required String assetId, String? offset, int limit = 30, String? opponent, String? destination, String? tag}) Future<MixinResponse<List<SafeSnapshot>>>
getSnapshotsByAssetId(String id, {String? offset, int limit = 30}) Future<MixinResponse<List<SafeSnapshot>>>
getTrace(String traceId) Future<MixinResponse<SafeSnapshot>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pendingDeposits(String assetId, {String? destination, String? tag}) Future<MixinResponse<List<SafePendingDeposit>>>
toString() String
A string representation of this object.
inherited

Operators

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