AssetApi class

Asset listing and balance queries.

Constructors

AssetApi(Transport _conn)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

invalidateCache() → Future<void>
Drop libwallet's short-lived balance-snapshot cache so the next list fetches fresh on-chain balances rather than a memoized snapshot.
list({String? convert}) → Future<List<Asset>>
List all assets. Optionally convert to a fiat currency (USD, EUR, GBP, JPY).
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