maestro-sdk-1.7.3: Maestro Blockchain Indexer SDK
Safe HaskellNone
LanguageHaskell2010

Maestro.Types.V1.Blocks

Description

Module to define types for "Blocks" category endpoints defined at docs.gomaestro.org.

Synopsis

Documentation

data BlockDetails #

Complete block details when queried by its hash or height.

Constructors

BlockDetails 

Fields

Instances

Instances details
Eq BlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

Show BlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

Generic BlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

Associated Types

type Rep BlockDetailsTypeType #

ToJSON BlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

Methods

toJSONBlockDetails → Value

toEncodingBlockDetails → Encoding

toJSONList ∷ [BlockDetails] → Value

toEncodingList ∷ [BlockDetails] → Encoding

omitFieldBlockDetailsBool

FromJSON BlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

Methods

parseJSON ∷ Value → Parser BlockDetails

parseJSONList ∷ Value → Parser [BlockDetails]

omittedFieldMaybe BlockDetails

type Rep BlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

type Rep BlockDetails = D1 ('MetaData "BlockDetails" "Maestro.Types.V1.Blocks" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "BlockDetails" 'PrefixI 'True) (((S1 ('MetaSel ('Just "blockDetailsHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockHash) :*: (S1 ('MetaSel ('Just "blockDetailsHeight") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockHeight) :*: S1 ('MetaSel ('Just "blockDetailsAbsoluteSlot") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AbsoluteSlot))) :*: (S1 ('MetaSel ('Just "blockDetailsBlockProducer") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (Bech32StringOf PoolId))) :*: (S1 ('MetaSel ('Just "blockDetailsConfirmations") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "blockDetailsEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo)))) :*: ((S1 ('MetaSel ('Just "blockDetailsEpochSlot") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotNo) :*: (S1 ('MetaSel ('Just "blockDetailsPreviousBlock") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe BlockHash)) :*: S1 ('MetaSel ('Just "blockDetailsScriptInvocations") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32))) :*: ((S1 ('MetaSel ('Just "blockDetailsSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "blockDetailsTimestamp") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LocalTime)) :*: (S1 ('MetaSel ('Just "blockDetailsTotalFees") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "blockDetailsTxHashes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [TxHash]))))))

data TimestampedBlockDetails #

Timestamped BlockDetails response.

Instances

Instances details
Eq TimestampedBlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

Show TimestampedBlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

Generic TimestampedBlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

Associated Types

type Rep TimestampedBlockDetailsTypeType #

ToJSON TimestampedBlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

FromJSON TimestampedBlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

IsTimestamped TimestampedBlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

type Rep TimestampedBlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks

type Rep TimestampedBlockDetails = D1 ('MetaData "TimestampedBlockDetails" "Maestro.Types.V1.Blocks" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "TimestampedBlockDetails" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestampedBlockDetailsData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockDetails) :*: S1 ('MetaSel ('Just "timestampedBlockDetailsLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated)))
type TimestampedData TimestampedBlockDetails # 
Instance details

Defined in Maestro.Types.V1.Blocks