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

Blockfrost.Types.Cardano.Network

Description

Cardano Network reponses

Synopsis

Documentation

data Network Source #

Detailed network information

Constructors

Network 

Fields

Instances

Instances details
FromJSON Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Generic Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep Network :: Type -> Type #

Methods

from :: Network -> Rep Network x #

to :: Rep Network x -> Network #

Show Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Eq Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Methods

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

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

ToSample Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Methods

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

HasStake Network NetworkStake Source # 
Instance details

Defined in Blockfrost.Lens

HasSupply Network NetworkSupply Source # 
Instance details

Defined in Blockfrost.Lens

type Rep Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

type Rep Network = D1 ('MetaData "Network" "Blockfrost.Types.Cardano.Network" "blockfrost-api-0.8.0.0-9jPVyZRQiil83CVj7Bn3JQ" 'False) (C1 ('MetaCons "Network" 'PrefixI 'True) (S1 ('MetaSel ('Just "_networkSupply") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NetworkSupply) :*: S1 ('MetaSel ('Just "_networkStake") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NetworkStake)))

data NetworkStake Source #

Live and active stake of the whole network

Constructors

NetworkStake 

Fields

Instances

Instances details
FromJSON NetworkStake Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON NetworkStake Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Generic NetworkStake Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkStake :: Type -> Type #

Show NetworkStake Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Eq NetworkStake Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToSample NetworkStake Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

HasStake Network NetworkStake Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasStakeActive NetworkStake a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasStakeLive NetworkStake a Source # 
Instance details

Defined in Blockfrost.Lens

type Rep NetworkStake Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

type Rep NetworkStake = D1 ('MetaData "NetworkStake" "Blockfrost.Types.Cardano.Network" "blockfrost-api-0.8.0.0-9jPVyZRQiil83CVj7Bn3JQ" 'False) (C1 ('MetaCons "NetworkStake" 'PrefixI 'True) (S1 ('MetaSel ('Just "_stakeLive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_stakeActive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)))

data NetworkSupply Source #

Lovelace supply data

Constructors

NetworkSupply 

Fields

Instances

Instances details
FromJSON NetworkSupply Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON NetworkSupply Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Generic NetworkSupply Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkSupply :: Type -> Type #

Show NetworkSupply Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Eq NetworkSupply Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToSample NetworkSupply Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

HasSupply Network NetworkSupply Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasSupplyCirculating NetworkSupply a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasSupplyLocked NetworkSupply a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasSupplyMax NetworkSupply a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasSupplyReserves NetworkSupply a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasSupplyTotal NetworkSupply a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasSupplyTreasury NetworkSupply a Source # 
Instance details

Defined in Blockfrost.Lens

type Rep NetworkSupply Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

type Rep NetworkSupply = D1 ('MetaData "NetworkSupply" "Blockfrost.Types.Cardano.Network" "blockfrost-api-0.8.0.0-9jPVyZRQiil83CVj7Bn3JQ" 'False) (C1 ('MetaCons "NetworkSupply" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_supplyMax") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: (S1 ('MetaSel ('Just "_supplyTotal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_supplyCirculating") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces))) :*: (S1 ('MetaSel ('Just "_supplyLocked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: (S1 ('MetaSel ('Just "_supplyTreasury") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_supplyReserves") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)))))

data NetworkEraSummary Source #

Summary of information about network eras.

Constructors

NetworkEraSummary 

Fields

Instances

Instances details
FromJSON NetworkEraSummary Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON NetworkEraSummary Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Generic NetworkEraSummary Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkEraSummary :: Type -> Type #

Show NetworkEraSummary Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Eq NetworkEraSummary Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToSample NetworkEraSummary Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

HasNetworkEraEnd NetworkEraSummary NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Lens

HasNetworkEraParameters NetworkEraSummary NetworkEraParameters Source # 
Instance details

Defined in Blockfrost.Lens

HasNetworkEraStart NetworkEraSummary NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Lens

type Rep NetworkEraSummary Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

type Rep NetworkEraSummary = D1 ('MetaData "NetworkEraSummary" "Blockfrost.Types.Cardano.Network" "blockfrost-api-0.8.0.0-9jPVyZRQiil83CVj7Bn3JQ" 'False) (C1 ('MetaCons "NetworkEraSummary" 'PrefixI 'True) (S1 ('MetaSel ('Just "_networkEraStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NetworkEraBound) :*: (S1 ('MetaSel ('Just "_networkEraEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NetworkEraBound) :*: S1 ('MetaSel ('Just "_networkEraParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NetworkEraParameters))))

data NetworkEraBound Source #

Time bounds of an era.

Constructors

NetworkEraBound 

Fields

Instances

Instances details
FromJSON NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Generic NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkEraBound :: Type -> Type #

Show NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Eq NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToSample NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

HasBoundEpoch NetworkEraBound Epoch Source # 
Instance details

Defined in Blockfrost.Lens

HasBoundSlot NetworkEraBound Slot Source # 
Instance details

Defined in Blockfrost.Lens

HasBoundTime NetworkEraBound NominalDiffTime Source # 
Instance details

Defined in Blockfrost.Lens

HasNetworkEraEnd NetworkEraSummary NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Lens

HasNetworkEraStart NetworkEraSummary NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Lens

type Rep NetworkEraBound Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

type Rep NetworkEraBound = D1 ('MetaData "NetworkEraBound" "Blockfrost.Types.Cardano.Network" "blockfrost-api-0.8.0.0-9jPVyZRQiil83CVj7Bn3JQ" 'False) (C1 ('MetaCons "NetworkEraBound" 'PrefixI 'True) (S1 ('MetaSel ('Just "_boundEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Epoch) :*: (S1 ('MetaSel ('Just "_boundSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Slot) :*: S1 ('MetaSel ('Just "_boundTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NominalDiffTime))))

data NetworkEraParameters Source #

Parameters for a network era which can vary between hardforks.

Constructors

NetworkEraParameters 

Fields

Instances

Instances details
FromJSON NetworkEraParameters Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON NetworkEraParameters Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Generic NetworkEraParameters Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkEraParameters :: Type -> Type #

Show NetworkEraParameters Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Eq NetworkEraParameters Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToSample NetworkEraParameters Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

HasNetworkEraParameters NetworkEraSummary NetworkEraParameters Source # 
Instance details

Defined in Blockfrost.Lens

HasParametersEpochLength NetworkEraParameters EpochLength Source # 
Instance details

Defined in Blockfrost.Lens

HasParametersSafeZone NetworkEraParameters Word64 Source # 
Instance details

Defined in Blockfrost.Lens

HasParametersSlotLength NetworkEraParameters NominalDiffTime Source # 
Instance details

Defined in Blockfrost.Lens

type Rep NetworkEraParameters Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

type Rep NetworkEraParameters = D1 ('MetaData "NetworkEraParameters" "Blockfrost.Types.Cardano.Network" "blockfrost-api-0.8.0.0-9jPVyZRQiil83CVj7Bn3JQ" 'False) (C1 ('MetaCons "NetworkEraParameters" 'PrefixI 'True) (S1 ('MetaSel ('Just "_parametersEpochLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EpochLength) :*: (S1 ('MetaSel ('Just "_parametersSlotLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NominalDiffTime) :*: S1 ('MetaSel ('Just "_parametersSafeZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))))