Midgard Cache
MidgardCache
This class retrieves raw information from Midgard API and cached it
Parameters
midgard
Midgard an instance of the midgard API (could be pointing to stagenet,testnet,mainnet) (optional, defaultdefaultMidgard
)
getPools
Get info about existing pools in the protocol from Midgard API
Returns Array<PoolDetail> Array of pools
getSavers
Returns the information of all the positions of a set of addresses in the THORChain savers product.
Parameters
address
String Comma separated list of addresses
Returns SaverDetails Array of savers positions