Skip to main content
This section contains hooks for retrieving and calculating interest rates on Compound III.

Summary of Interest Rate Hooks

useGetSupplyRate

The useGetSupplyRate hook retrieves the current supply interest rate for the base asset.

Usage

Return Value

useGetBorrowRate

The useGetBorrowRate hook retrieves the current borrow interest rate for the base asset.

Usage

Return Value

useGetUtilization

The useGetUtilization hook retrieves the current utilization rate of the protocol, which is the ratio of borrowed assets to supplied assets.

Usage

Return Value