blockfrost-api-0.2.0.0: API definitions for blockfrost.io
Safe HaskellNone
LanguageHaskell2010

Blockfrost.Types.Common

Description

Types for common servics

Synopsis

Documentation

data URLVersion Source #

Root endpoint reply

Instances

Instances details
Eq URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

Show URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

Generic URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

Associated Types

type Rep URLVersion :: Type -> Type #

ToJSON URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

FromJSON URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

ToSample URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

HasVersion URLVersion Text Source # 
Instance details

Defined in Blockfrost.Lens

HasUrl URLVersion Text Source # 
Instance details

Defined in Blockfrost.Lens

type Rep URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

type Rep URLVersion = D1 ('MetaData "URLVersion" "Blockfrost.Types.Common" "blockfrost-api-0.2.0.0-Hsre1z6A3K049l5HFlEppT" 'False) (C1 ('MetaCons "URLVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "_urlVersionUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_urlVersionVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype Healthy Source #

Health endpoint reply

Constructors

Healthy 

Fields

Instances

Instances details
Eq Healthy Source # 
Instance details

Defined in Blockfrost.Types.Common

Methods

(==) :: Healthy -> Healthy -> Bool #

(/=) :: Healthy -> Healthy -> Bool #

Show Healthy Source # 
Instance details

Defined in Blockfrost.Types.Common

Generic Healthy Source # 
Instance details

Defined in Blockfrost.Types.Common

Associated Types

type Rep Healthy :: Type -> Type #

Methods

from :: Healthy -> Rep Healthy x #

to :: Rep Healthy x -> Healthy #

ToJSON Healthy Source # 
Instance details

Defined in Blockfrost.Types.Common

FromJSON Healthy Source # 
Instance details

Defined in Blockfrost.Types.Common

ToSample Healthy Source # 
Instance details

Defined in Blockfrost.Types.Common

Methods

toSamples :: Proxy Healthy -> [(Text, Healthy)] #

type Rep Healthy Source # 
Instance details

Defined in Blockfrost.Types.Common

type Rep Healthy = D1 ('MetaData "Healthy" "Blockfrost.Types.Common" "blockfrost-api-0.2.0.0-Hsre1z6A3K049l5HFlEppT" 'True) (C1 ('MetaCons "Healthy" 'PrefixI 'True) (S1 ('MetaSel ('Just "isHealthy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))

newtype ServerTime Source #

Health clock endpoint reply

Constructors

ServerTime 

Instances

Instances details
Eq ServerTime Source # 
Instance details

Defined in Blockfrost.Types.Common

Show ServerTime Source # 
Instance details

Defined in Blockfrost.Types.Common

Generic ServerTime Source # 
Instance details

Defined in Blockfrost.Types.Common

Associated Types

type Rep ServerTime :: Type -> Type #

Arbitrary ServerTime Source # 
Instance details

Defined in Blockfrost.Types.Common

ToJSON ServerTime Source # 
Instance details

Defined in Blockfrost.Types.Common

FromJSON ServerTime Source # 
Instance details

Defined in Blockfrost.Types.Common

ToSample ServerTime Source # 
Instance details

Defined in Blockfrost.Types.Common

type Rep ServerTime Source # 
Instance details

Defined in Blockfrost.Types.Common

type Rep ServerTime = D1 ('MetaData "ServerTime" "Blockfrost.Types.Common" "blockfrost-api-0.2.0.0-Hsre1z6A3K049l5HFlEppT" 'True) (C1 ('MetaCons "ServerTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "serverTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime)))

data Metric Source #

Metrics response

Constructors

Metric 

Instances

Instances details
Eq Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

Methods

(==) :: Metric -> Metric -> Bool #

(/=) :: Metric -> Metric -> Bool #

Show Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

Generic Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

Associated Types

type Rep Metric :: Type -> Type #

Methods

from :: Metric -> Rep Metric x #

to :: Rep Metric x -> Metric #

ToJSON Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

FromJSON Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

ToSample Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

Methods

toSamples :: Proxy Metric -> [(Text, Metric)] #

ToJSON (Text, Metric) Source # 
Instance details

Defined in Blockfrost.Types.Common

FromJSON (Text, Metric) Source # 
Instance details

Defined in Blockfrost.Types.Common

ToSample (Text, Metric) Source # 
Instance details

Defined in Blockfrost.Types.Common

Methods

toSamples :: Proxy (Text, Metric) -> [(Text, (Text, Metric))] #

type Rep Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

type Rep Metric = D1 ('MetaData "Metric" "Blockfrost.Types.Common" "blockfrost-api-0.2.0.0-Hsre1z6A3K049l5HFlEppT" 'False) (C1 ('MetaCons "Metric" 'PrefixI 'True) (S1 ('MetaSel ('Just "_metricTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime) :*: S1 ('MetaSel ('Just "_metricCalls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))