maestro-sdk-1.7.3: Maestro Blockchain Indexer SDK
Safe HaskellNone
LanguageHaskell2010

Maestro.Client.V1.DefiMarkets

Description

Module to query for "DeFi Markets" category of endpoints defined at docs.gomaestro.org.

Synopsis

Documentation

pricesFromDex #

Arguments

MaestroEnv 'V1 
Dex

Dex.

TaggedText PairOfDexTokens

Pair.

Maybe Resolution

Resolution.

Maybe Day

From day.

Maybe Day

To day.

Maybe Word64

Limit. Default value is 5000.

Maybe Order

Order.

IO [OHLCCandleInfo] 

Returns a list of OHLC formatted candles from the desired dex

pairsFromDexMaestroEnv 'V1DexIO DexPairResponse #

Returns a the list of pairs supported by the dex