SimpleSection class

The section that brings together the requests that are related to simple coins / currencies

Constructors

SimpleSection(Dio _dio)
const

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

listPrices({required List<String> ids, required List<String> vsCurrencies, bool includeMarketCap = false, bool include24hVol = false, bool include24hChange = false, bool includeLastUpdatedAt = false}) Future<CoinGeckoResult<List<PriceInfo>>>
Get the current price of any cryptocurrencies in any other supported currencies that you need.
listSupportedVsCurrencies() Future<CoinGeckoResult<List<String>>>
Get list of supported vs currencies.
listTokenPrices({required String id, required List<String> contractAddresses, required List<String> vsCurrencies, bool includeMarketCap = false, bool include24hVol = false, bool include24hChange = false, bool includeLastUpdatedAt = false}) Future<CoinGeckoResult<List<PriceInfo>>>
Get current price of tokens (using contract addresses) for a given platform in any other currency that you need.
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