blockfrost-api-0.10.0.0: API definitions for blockfrost.io
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blockfrost.Types.Common

Description

Types for common servics

Synopsis

Documentation

data URLVersion Source #

Root endpoint reply

Instances

Instances details
FromJSON URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

ToJSON 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 #

Show URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

Eq URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

ToSample URLVersion Source # 
Instance details

Defined in Blockfrost.Types.Common

HasUrl URLVersion Text Source # 
Instance details

Defined in Blockfrost.Lens

HasVersion 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.10.0.0-H3DI7ESLvrxAKlRg74H5QM" '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
FromJSON Healthy Source # 
Instance details

Defined in Blockfrost.Types.Common

ToJSON 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 #

Show Healthy Source # 
Instance details

Defined in Blockfrost.Types.Common

Eq Healthy Source # 
Instance details

Defined in Blockfrost.Types.Common

Methods

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

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

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.10.0.0-H3DI7ESLvrxAKlRg74H5QM" '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
FromJSON ServerTime Source # 
Instance details

Defined in Blockfrost.Types.Common

ToJSON 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 #

Show ServerTime Source # 
Instance details

Defined in Blockfrost.Types.Common

Eq 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.10.0.0-H3DI7ESLvrxAKlRg74H5QM" '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
FromJSON Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

ToJSON 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 #

Show Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

Eq Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

Methods

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

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

ToSample Metric Source # 
Instance details

Defined in Blockfrost.Types.Common

Methods

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

FromJSON (Text, Metric) Source # 
Instance details

Defined in Blockfrost.Types.Common

ToJSON (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.10.0.0-H3DI7ESLvrxAKlRg74H5QM" 'False) (C1 ('MetaCons "Metric" 'PrefixI 'True) (S1 ('MetaSel ('Just "_metricTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime) :*: S1 ('MetaSel ('Just "_metricCalls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))