blockfrost-api-0.11.0.0: API definitions for blockfrost.io
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blockfrost.Types.Shared.BlockIndex

Description

BlockIndex query parameter

Synopsis

Documentation

data BlockIndex Source #

Block height (number) and optional index

Instances

Instances details
Generic BlockIndex Source # 
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

Associated Types

type Rep BlockIndex :: Type -> Type #

Show BlockIndex Source # 
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

Eq BlockIndex Source # 
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

FromHttpApiData BlockIndex Source # 
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

ToHttpApiData BlockIndex Source # 
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

ToSample BlockIndex Source # 
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

HasHeight BlockIndex Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasIndex BlockIndex (Maybe Integer) Source # 
Instance details

Defined in Blockfrost.Lens

ToParam (QueryParam "from" BlockIndex) Source # 
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

ToParam (QueryParam "to" BlockIndex) Source # 
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

type Rep BlockIndex Source # 
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

type Rep BlockIndex = D1 ('MetaData "BlockIndex" "Blockfrost.Types.Shared.BlockIndex" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'False) (C1 ('MetaCons "BlockIndex" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockIndexHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "blockIndexIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer))))