Midgard Api

getPools

Returns any an array containing details for a set of pools

getMayaNameDetails

Get MayaName details

Parameters

Returns any an array of chains and their addresses associated with the given THORName

getMAYANameReverseLookup

Gives a list of MayaNames by reverse lookup

Parameters

  • address string to know if it has a MayaName associated with

Returns any an array of THORNames associated with the given address

getHealth

Gets network health info

Returns any an object containing the health response of the API

getPoolStats

Function to return pool statistics for a particular asset

Parameters

  • asset string asset string to query its pool stats

Returns any type object poolStatsDetail

getMemberDetails

Function to return member details based on valid liquidity position

Parameters

  • member string needed to query for Lp details

Returns any object type of Member Detail