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

Blockfrost.Types.Cardano.Blocks

Description

Information about produced blocks

Synopsis

Documentation

data Block Source #

Information about a block

Constructors

Block 

Fields

Instances

Instances details
Eq Block Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

Methods

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

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

Show Block Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

Methods

showsPrec :: Int -> Block -> ShowS #

show :: Block -> String #

showList :: [Block] -> ShowS #

Generic Block Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

Associated Types

type Rep Block :: Type -> Type #

Methods

from :: Block -> Rep Block x #

to :: Rep Block x -> Block #

ToJSON Block Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

FromJSON Block Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

ToSample Block Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

Methods

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

HasTxCount Block Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasTime Block POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

HasSlotLeader Block Text Source # 
Instance details

Defined in Blockfrost.Lens

HasSize Block Integer Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Maybe Lovelaces => HasOutput Block a Source # 
Instance details

Defined in Blockfrost.Lens

Methods

output :: Lens' Block a Source #

HasHash Block BlockHash Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Maybe Lovelaces => HasFees Block a Source # 
Instance details

Defined in Blockfrost.Lens

Methods

fees :: Lens' Block a Source #

HasConfirmations Block Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch Block (Maybe Epoch) Source # 
Instance details

Defined in Blockfrost.Lens

HasSlot Block (Maybe Slot) Source # 
Instance details

Defined in Blockfrost.Lens

HasPreviousBlock Block (Maybe BlockHash) Source # 
Instance details

Defined in Blockfrost.Lens

HasNextBlock Block (Maybe BlockHash) Source # 
Instance details

Defined in Blockfrost.Lens

HasHeight Block (Maybe Integer) Source # 
Instance details

Defined in Blockfrost.Lens

HasEpochSlot Block (Maybe Integer) Source # 
Instance details

Defined in Blockfrost.Lens

HasBlockVrf Block (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

type Rep Block Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

type Rep Block = D1 ('MetaData "Block" "Blockfrost.Types.Cardano.Blocks" "blockfrost-api-0.2.0.0-Hsre1z6A3K049l5HFlEppT" 'False) (C1 ('MetaCons "Block" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_blockTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime) :*: (S1 ('MetaSel ('Just "_blockHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "_blockHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BlockHash))) :*: ((S1 ('MetaSel ('Just "_blockSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Slot)) :*: S1 ('MetaSel ('Just "_blockEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Epoch))) :*: (S1 ('MetaSel ('Just "_blockEpochSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "_blockSlotLeader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :*: (((S1 ('MetaSel ('Just "_blockSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_blockTxCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "_blockOutput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces)) :*: S1 ('MetaSel ('Just "_blockFees") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces)))) :*: ((S1 ('MetaSel ('Just "_blockBlockVrf") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_blockPreviousBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BlockHash))) :*: (S1 ('MetaSel ('Just "_blockNextBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BlockHash)) :*: S1 ('MetaSel ('Just "_blockConfirmations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))))))