IRedstoneOracle

getExchangeRate

function getExchangeRate() external view returns (uint256 exchangeRate_)

Get the exchangeRate_ between the underlying asset and the peg asset

decimals

function decimals() external view returns (uint8)

Returns the number of decimals for the price feed

By default, RedStone uses 8 decimals for data feeds

Return Values

NameTypeDescription
0uint8decimals The number of decimals in the price feed values