blockfrost-api-0.4.0.1: API definitions for blockfrost.io
Safe Haskell None
Language Haskell2010

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

Show Block Source #
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

Generic Block Source #
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

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

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

HasHash Block BlockHash Source #
Instance details

Defined in Blockfrost.Lens

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

Defined in Blockfrost.Lens

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.4.0.1-A9W5au7R2kOUA8M8hTMe9" ' 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 ))))))

Orphan instances