ContractSection class
The section that brings together the requests that are related to contract tokens.
Constructors
- ContractSection(Client _client)
-
Creates an instance of ContractSection with the given Client.
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
-
getContractMarketChart(
{required String id, required String contractAddress, required String vsCurrency, int? days}) → Future< CoinGeckoResult< List< >MarketChartData> > - Get historical market data including price, market cap, and 24h volume (granularity auto) from a contract address.
-
getContractMarketChartRanged(
{required String id, required String contractAddress, required String vsCurrency, required DateTime from, required DateTime to}) → Future< CoinGeckoResult< List< >MarketChartData> > - Get historical market data including price, market cap, and 24h volume within a range of timestamps (granularity auto) from a contract address.
-
getContractTokenData(
{required String id, required String contractAddress}) → Future< CoinGeckoResult< Coin?> > - Get coin info from contract address.
-
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