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

Maestro.API.V1.DefiMarkets

Documentation

data DefiMarketsAPI route #

Constructors

DefiMarketsAPI 

Fields

Instances

Instances details
Generic (DefiMarketsAPI route) # 
Instance details

Defined in Maestro.API.V1.DefiMarkets

Associated Types

type Rep (DefiMarketsAPI route) ∷ TypeType #

Methods

fromDefiMarketsAPI route → Rep (DefiMarketsAPI route) x #

toRep (DefiMarketsAPI route) x → DefiMarketsAPI route #

type Rep (DefiMarketsAPI route) # 
Instance details

Defined in Maestro.API.V1.DefiMarkets

type Rep (DefiMarketsAPI route) = D1 ('MetaData "DefiMarketsAPI" "Maestro.API.V1.DefiMarkets" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "DefiMarketsAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "dexOHLC") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("ohlc" :> (Capture "dex" Dex :> (Capture "pair" (TaggedText PairOfDexTokens) :> (QueryParam "resolution" Resolution :> (QueryParam "from" Day :> (QueryParam "to" Day :> (QueryParam "limit" Word64 :> (QueryParam "sort" Order :> Get '[JSON] [OHLCCandleInfo])))))))))) :*: S1 ('MetaSel ('Just "dexPairs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Capture "dex" Dex :> Get '[JSON] DexPairResponse)))))