fetchTokenPrices
utility for USD conversiongetBlockRange
utility for temporal filteringstring
User wallet address to calculate lending protocol revenue for
Date
End of time window for revenue calculation (exclusive)
Date
Start of time window for revenue calculation (inclusive)
Promise
<KpiResult
<string
>>
Promise resolving to total lending protocol revenue in USD generated by user’s activity