| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Blockfrost.Types.Common
Description
Types for common servics
Synopsis
- data URLVersion = URLVersion {}
- newtype Healthy = Healthy {}
- newtype ServerTime = ServerTime {}
- data Metric = Metric {}
Documentation
data URLVersion Source #
Root endpoint reply
Constructors
| URLVersion | |
Fields | |
Instances
Health endpoint reply
newtype ServerTime Source #
Health clock endpoint reply
Constructors
| ServerTime | |
Fields | |
Instances
Metrics response
Constructors
| Metric | |
Fields | |
Instances
| FromJSON Metric Source # | |
Defined in Blockfrost.Types.Common | |
| ToJSON Metric Source # | |
| Generic Metric Source # | |
| Show Metric Source # | |
| Eq Metric Source # | |
| ToSample Metric Source # | |
| FromJSON (Text, Metric) Source # | |
| ToJSON (Text, Metric) Source # | |
| ToSample (Text, Metric) Source # | |
| type Rep Metric Source # | |
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))) | |