blockfrost-api-0.7.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.7.0.0-GFqHBUsOl9sJ1HxGcioioy" '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

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.7.0.0-GFqHBUsOl9sJ1HxGcioioy" '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

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.7.0.0-GFqHBUsOl9sJ1HxGcioioy" '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)))))