RatesImp..::..GetRateAsync Method
Get the rate of an asset as an asynchronous operation.
Namespace:
CoinCapApi.ImpAssembly: CoinCapApi (in CoinCapApi.dll)
Syntax
public Task<RateResponse> GetRateAsync( string id )
Public Function GetRateAsync ( _ id As String _ ) As Task(Of RateResponse)
Parameters
- id
- Type: String
The asset id to get the rate for.
Return Value
A Task<RateResponse> representing the asynchronous operation.Exceptions
Exception | Condition |
---|---|
ArgumentNullException | id - Null or invalid value, id must be a valid asset id. |