AssetsImp..::..GetAssetAsync Method
Get an asset by id as an asynchronous operation.
Namespace:
CoinCapApi.ImpAssembly: 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
Exception | Condition |
---|---|
ArgumentNullException | id - Null or invalid value, id must be a valid asset id. |