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

Maestro.Types.V1.Datum

Description

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

Synopsis

Documentation

data Datum #

Details of datum when queried by it's hash.

Constructors

Datum 

Fields

Instances

Instances details
Eq Datum # 
Instance details

Defined in Maestro.Types.V1.Datum

Methods

(==)DatumDatumBool #

(/=)DatumDatumBool #

Show Datum # 
Instance details

Defined in Maestro.Types.V1.Datum

Methods

showsPrecIntDatumShowS #

showDatumString #

showList ∷ [Datum] → ShowS #

Generic Datum # 
Instance details

Defined in Maestro.Types.V1.Datum

Associated Types

type Rep DatumTypeType #

Methods

fromDatumRep Datum x #

toRep Datum x → Datum #

ToJSON Datum # 
Instance details

Defined in Maestro.Types.V1.Datum

Methods

toJSONDatum → Value

toEncodingDatum → Encoding

toJSONList ∷ [Datum] → Value

toEncodingList ∷ [Datum] → Encoding

omitFieldDatumBool

FromJSON Datum # 
Instance details

Defined in Maestro.Types.V1.Datum

Methods

parseJSON ∷ Value → Parser Datum

parseJSONList ∷ Value → Parser [Datum]

omittedFieldMaybe Datum

type Rep Datum # 
Instance details

Defined in Maestro.Types.V1.Datum

type Rep Datum = D1 ('MetaData "Datum" "Maestro.Types.V1.Datum" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "Datum" 'PrefixI 'True) (S1 ('MetaSel ('Just "datumBytes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "datumJson") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Value)))

data TimestampedDatum #

Timestamped Datum response.

Instances

Instances details
Eq TimestampedDatum # 
Instance details

Defined in Maestro.Types.V1.Datum

Show TimestampedDatum # 
Instance details

Defined in Maestro.Types.V1.Datum

Generic TimestampedDatum # 
Instance details

Defined in Maestro.Types.V1.Datum

Associated Types

type Rep TimestampedDatumTypeType #

ToJSON TimestampedDatum # 
Instance details

Defined in Maestro.Types.V1.Datum

FromJSON TimestampedDatum # 
Instance details

Defined in Maestro.Types.V1.Datum

Methods

parseJSON ∷ Value → Parser TimestampedDatum

parseJSONList ∷ Value → Parser [TimestampedDatum]

omittedFieldMaybe TimestampedDatum

IsTimestamped TimestampedDatum # 
Instance details

Defined in Maestro.Types.V1.Datum

Associated Types

type TimestampedData TimestampedDatum #

type Rep TimestampedDatum # 
Instance details

Defined in Maestro.Types.V1.Datum

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

Defined in Maestro.Types.V1.Datum