NftsImp..::..GetNftAsync Method (String)

Get current data (name, price_floor, volume_24h ...) for an NFT collection. native_currency (string) is only a representative of the currency.

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

Syntax


public Task<NftResponse> GetNftAsync(
	string id
)
Public Function GetNftAsync ( _
	id As String _
) As Task(Of NftResponse)

Parameters

id
Type: String
The id of the nft collection (can be obtained from GetNftsListAsync(NftsListOrderBy, String, UInt32, UInt32)).

Return Value

A Task<NftResponse> representing the asynchronous operation.

Exceptions


ExceptionCondition
ArgumentNullExceptionid - Invalid value. Value must be a valid NFT collection id (EX: 8bit).