Skip to main content
The InterestRateDisplay component shows the current supply and borrow interest rates along with the utilization rate for the Compound III protocol.

Usage

Props

Example

Displayed Information

The component displays the following information:
  • Supply APY (Annual Percentage Yield)
  • Borrow APY (Annual Percentage Yield)
  • Utilization rate

Loading and Error States

The component handles loading and error states automatically:
  • While data is being fetched, a loading indicator is displayed
  • If an error occurs during data fetching, an error message is displayed
  • MarketStats - Displays more detailed market statistics