Summary of Interest Rate Hooks
- useGetSupplyRate: Retrieves the current supply interest rate for the base asset
- useGetBorrowRate: Retrieves the current borrow interest rate for the base asset
- useGetUtilization: Retrieves the current utilization rate of the protocol
useGetSupplyRate
TheuseGetSupplyRate hook retrieves the current supply interest rate for the base asset.
Usage
Return Value
useGetBorrowRate
TheuseGetBorrowRate hook retrieves the current borrow interest rate for the base asset.
Usage
Return Value
useGetUtilization
TheuseGetUtilization hook retrieves the current utilization rate of the protocol, which is the ratio of borrowed assets to supplied assets.