Midgard Cache
MidgardCache
This class retrieves raw information from Midgard API and cached it
Parameters
midgardApi
MidgardApi an instance of the midgard API (could be pointing to stagenet,testnet,mainnet) (optional, defaultnew midgard_api_1.MidgardApi()
)
getPools
Get info about existing pools in the protocol from Midgard API
Returns Array<PoolDetail> Array of pools