ICryptoCurrencyGetPriceAsync(Double, FiatCurrencies) Method

Asynchronously gets the price equivalency for the specified amount of this ICryptoCurrency converted to the specified currency.

Definition

Namespace: DevCase.Core.Finances.CryptoCurrencies
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
Task<double> GetPriceAsync(
	double amount,
	FiatCurrencies currency
)

Parameters

amount  Double
The amount of this ICryptoCurrency.
currency  FiatCurrencies
The target currency.

Return Value

TaskDouble
The resulting price for the specified amount of this ICryptoCurrency converted to the specified currency.

See Also