NftsSection class

The section that brings together the requests that are related to NFTs

Constructors

NftsSection(Client _client)
Constructor for NftsSection
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

getDataByContractAddress({required String assetPlatformId, required String contractAddress}) Future<CoinGeckoResult<NftCollectionData?>>
Get all the NFT data (name, floor price, 24 hr volume....) based on the nft collection contract address and respective asset platform
getDataById({required String id}) Future<CoinGeckoResult<NftCollectionData?>>
Get all the NFT data (name, floor price, 24 hr volume....) based on the nft collection id
listNfts({String order = NftsListOrder.marketCapUsdDescending, int itemsPerPage = 100, int page = 1}) Future<CoinGeckoResult<List<NftInfo>>>
Get all supported NFTs with id, contract address, name, asset platform id and symbol on CoinGecko
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