ProImp..::..GetNftsMarketChartAsync Method (String, String, UInt32)

Get historical market data of a NFT collection using contract address, including floor price, market cap, and 24h volume, by number of days away from now as an asynchronous operation.

Namespace:  CoinGeckoAPI.Imps
Assembly:  CoinGeckoAPI (in CoinGeckoAPI.dll)

Syntax


public Task<NftsMarketChartResponse> GetNftsMarketChartAsync(
	string asset_platform_id,
	string contract_address,
	uint days
)
Public Function GetNftsMarketChartAsync ( _
	asset_platform_id As String, _
	contract_address As String, _
	days As UInteger _
) As Task(Of NftsMarketChartResponse)

Parameters

asset_platform_id
Type: String
The NFT platform identifier (ex: ethereum).GetAssetPlatformsAsync(String)
contract_address
Type: String
The contract address (ex: 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d).
days
Type: UInt32
The data up to number of days ago.

Return Value

A Task<NftsMarketChartResponse> representing the asynchronous operation.

Exceptions


ExceptionCondition
NotSupportedExceptionThis call is restricted to PRO accounts with an API key.
ArgumentNullExceptionasset_platform_id - Invalid value. Value must be a valid NFT collection platform id (ex: ethereum)
ArgumentNullExceptioncontract_address - Invalid value. Value must be a valid NFT collection contract address (ex: 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d)