ExchangesSection class
The section that brings together the requests that are related to exchanges
Constructors
- ExchangesSection(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
-
getExchangeData(
{required String id}) → Future< CoinGeckoResult< ExchangeExtended?> > - Get exchange volume in BTC and top 100 tickers only.
-
getExchangeTickers(
{required String id, List< String> coinIds = const [], int? page, bool includeExchangeLogo = false, bool depth = false, String order = TickersOrder.trustScoreDescending}) → Future<CoinGeckoResult< List< >Ticker> > - Get exchange tickers (paginated, 100 tickers per page).
-
getExchangeVolumeChartData(
{required String id, required int days}) → Future< CoinGeckoResult< List< >ExchangeVolumeData> > - Get volume_chart data for a given exchange.
-
listExchanges(
{int itemsPerPage = 100, int page = 1}) → Future< CoinGeckoResult< List< >Exchange> > - List all exchanges.
-
listExchangesShort(
) → Future< CoinGeckoResult< List< >ExchangeShort> > - List all supported exchanges: id and name.
-
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