fetch_reserve_data

Documentation for eth_defi.aave_v3.reserve.fetch_reserve_data function.

fetch_reserve_data(contracts, block_identifier=None)[source]

Fetch data for all reserves.

Parameters

contracts (eth_defi.aave_v3.reserve.HelperContracts) – Helper contracts needed to pull the data

Returns

List of data of all reserves, currency data from ChainLink used to convert this info for display

Return type

Tuple[List[eth_defi.aave_v3.reserve.AggregatedReserveData], eth_defi.aave_v3.reserve.BaseCurrencyInfo]