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

Maestro.API.V1.Blocks

Documentation

data BlocksAPI route #

Constructors

BlocksAPI 

Fields

Instances

Instances details
Generic (BlocksAPI route) # 
Instance details

Defined in Maestro.API.V1.Blocks

Associated Types

type Rep (BlocksAPI route) ∷ TypeType #

Methods

fromBlocksAPI route → Rep (BlocksAPI route) x #

toRep (BlocksAPI route) x → BlocksAPI route #

type Rep (BlocksAPI route) # 
Instance details

Defined in Maestro.API.V1.Blocks

type Rep (BlocksAPI route) = D1 ('MetaData "BlocksAPI" "Maestro.API.V1.Blocks" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "BlocksAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockByHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Capture "hash_or_height" BlockHash :> Get '[JSON] TimestampedBlockDetails))) :*: S1 ('MetaSel ('Just "blockByHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Capture "hash_or_height" BlockHeight :> Get '[JSON] TimestampedBlockDetails)))))