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

Blockfrost.Types.Cardano.Network

Description

Cardano Network reponses

Synopsis

Documentation

data Network Source #

Detailed network information

Constructors

Network 

Fields

Instances

Instances details
Eq Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Methods

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

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

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

ToJSON Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

FromJSON Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToSample Network Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Methods

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

HasSupply Network NetworkSupply Source # 
Instance details

Defined in Blockfrost.Lens

HasStake Network NetworkStake 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.3.1.0-9MF0mqKIq7X32LLMNYkjEF" '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
Eq NetworkStake Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

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

ToJSON NetworkStake Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

FromJSON 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.3.1.0-9MF0mqKIq7X32LLMNYkjEF" '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
Eq NetworkSupply Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

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

ToJSON NetworkSupply Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Network

FromJSON 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.3.1.0-9MF0mqKIq7X32LLMNYkjEF" '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)))))