AssetsImp..::..GetAssetAsync Method

Get an asset by id as an asynchronous operation.

Namespace:  CoinCapApi.Imp
Assembly:  CoinCapApi (in CoinCapApi.dll)

Syntax


public Task<AssetResponse> GetAssetAsync(
	string id
)
Public Function GetAssetAsync ( _
	id As String _
) As Task(Of AssetResponse)

Parameters

id
Type: String
The unique identifier of the asset.

Return Value

A Task<AssetResponse> representing the asynchronous operation.

Exceptions


ExceptionCondition
ArgumentNullExceptionid - Null or invalid value, id must be a valid asset id.