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

Blockfrost.Types.Shared.BlockIndex

Description

BlockIndex query parameter

Synopsis

Documentation

data BlockIndex Source #

Block height (number) and optional index

Instances

Instances details
Eq BlockIndex Source #
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

Show BlockIndex Source #
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

Generic BlockIndex Source #
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

ToHttpApiData BlockIndex Source #
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

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