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

Maestro.Types.V1.Transactions

Description

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

Synopsis

Documentation

data OutputReference #

An UTxO output reference.

Instances

Instances details
Eq OutputReference # 
Instance details

Defined in Maestro.Types.V1.Transactions

Ord OutputReference # 
Instance details

Defined in Maestro.Types.V1.Transactions

Show OutputReference # 
Instance details

Defined in Maestro.Types.V1.Transactions

ToHttpApiData OutputReference # 
Instance details

Defined in Maestro.Types.V1.Transactions

ToJSON OutputReference # 
Instance details

Defined in Maestro.Types.V1.Transactions

Methods

toJSONOutputReference → Value

toEncodingOutputReference → Encoding

toJSONList ∷ [OutputReference] → Value

toEncodingList ∷ [OutputReference] → Encoding

omitFieldOutputReferenceBool

data UtxoWithBytes #

Transaction output.

Constructors

UtxoWithBytes 

Fields

Instances

Instances details
Eq UtxoWithBytes # 
Instance details

Defined in Maestro.Types.V1.Transactions

Ord UtxoWithBytes # 
Instance details

Defined in Maestro.Types.V1.Transactions

Show UtxoWithBytes # 
Instance details

Defined in Maestro.Types.V1.Transactions

Generic UtxoWithBytes # 
Instance details

Defined in Maestro.Types.V1.Transactions

Associated Types

type Rep UtxoWithBytesTypeType #

ToJSON UtxoWithBytes # 
Instance details

Defined in Maestro.Types.V1.Transactions

Methods

toJSONUtxoWithBytes → Value

toEncodingUtxoWithBytes → Encoding

toJSONList ∷ [UtxoWithBytes] → Value

toEncodingList ∷ [UtxoWithBytes] → Encoding

omitFieldUtxoWithBytesBool

FromJSON UtxoWithBytes # 
Instance details

Defined in Maestro.Types.V1.Transactions

Methods

parseJSON ∷ Value → Parser UtxoWithBytes

parseJSONList ∷ Value → Parser [UtxoWithBytes]

omittedFieldMaybe UtxoWithBytes

IsUtxo UtxoWithBytes # 
Instance details

Defined in Maestro.Types.V1.Transactions

type Rep UtxoWithBytes # 
Instance details

Defined in Maestro.Types.V1.Transactions

type Rep UtxoWithBytes = D1 ('MetaData "UtxoWithBytes" "Maestro.Types.V1.Transactions" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "UtxoWithBytes" 'PrefixI 'True) ((S1 ('MetaSel ('Just "utxoWithBytesAddress") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Bech32StringOf Address)) :*: (S1 ('MetaSel ('Just "utxoWithBytesAssets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Asset]) :*: S1 ('MetaSel ('Just "utxoWithBytesDatum") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe DatumOption)))) :*: ((S1 ('MetaSel ('Just "utxoWithBytesIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxIndex) :*: S1 ('MetaSel ('Just "utxoWithBytesReferenceScript") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Script))) :*: (S1 ('MetaSel ('Just "utxoWithBytesTxHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "utxoWithBytesTxoutCbor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (HexStringOf TxOutCbor)))))))

data PaginatedUtxo #

A paginated response of transaction outputs.

Instances

Instances details
Eq PaginatedUtxo # 
Instance details

Defined in Maestro.Types.V1.Transactions

Show PaginatedUtxo # 
Instance details

Defined in Maestro.Types.V1.Transactions

Generic PaginatedUtxo # 
Instance details

Defined in Maestro.Types.V1.Transactions

Associated Types

type Rep PaginatedUtxoTypeType #

ToJSON PaginatedUtxo # 
Instance details

Defined in Maestro.Types.V1.Transactions

Methods

toJSONPaginatedUtxo → Value

toEncodingPaginatedUtxo → Encoding

toJSONList ∷ [PaginatedUtxo] → Value

toEncodingList ∷ [PaginatedUtxo] → Encoding

omitFieldPaginatedUtxoBool

FromJSON PaginatedUtxo # 
Instance details

Defined in Maestro.Types.V1.Transactions

Methods

parseJSON ∷ Value → Parser PaginatedUtxo

parseJSONList ∷ Value → Parser [PaginatedUtxo]

omittedFieldMaybe PaginatedUtxo

IsTimestamped PaginatedUtxo # 
Instance details

Defined in Maestro.Types.V1.Transactions

Associated Types

type TimestampedData PaginatedUtxo #

HasCursor PaginatedUtxo # 
Instance details

Defined in Maestro.Types.V1.Transactions

type Rep PaginatedUtxo # 
Instance details

Defined in Maestro.Types.V1.Transactions

type Rep PaginatedUtxo = D1 ('MetaData "PaginatedUtxo" "Maestro.Types.V1.Transactions" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "PaginatedUtxo" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginatedUtxoData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [UtxoWithBytes]) :*: (S1 ('MetaSel ('Just "paginatedUtxoLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated) :*: S1 ('MetaSel ('Just "paginatedUtxoNextCursor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NextCursor)))))
type TimestampedData PaginatedUtxo # 
Instance details

Defined in Maestro.Types.V1.Transactions

data TxDetails #

Complete transaction Details when queried by its hash.

Constructors

TxDetails 

Fields

Instances

Instances details
Eq TxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

Methods

(==)TxDetailsTxDetailsBool #

(/=)TxDetailsTxDetailsBool #

Show TxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

Methods

showsPrecIntTxDetailsShowS #

showTxDetailsString #

showList ∷ [TxDetails] → ShowS #

Generic TxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

Associated Types

type Rep TxDetailsTypeType #

Methods

fromTxDetailsRep TxDetails x #

toRep TxDetails x → TxDetails #

ToJSON TxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

Methods

toJSONTxDetails → Value

toEncodingTxDetails → Encoding

toJSONList ∷ [TxDetails] → Value

toEncodingList ∷ [TxDetails] → Encoding

omitFieldTxDetailsBool

FromJSON TxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

Methods

parseJSON ∷ Value → Parser TxDetails

parseJSONList ∷ Value → Parser [TxDetails]

omittedFieldMaybe TxDetails

type Rep TxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

type Rep TxDetails = D1 ('MetaData "TxDetails" "Maestro.Types.V1.Transactions" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "TxDetails" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "txDetailsTxHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "txDetailsBlockHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockHash)) :*: (S1 ('MetaSel ('Just "txDetailsBlockAbsoluteSlot") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "txDetailsBlockHeight") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockHeight) :*: S1 ('MetaSel ('Just "txDetailsBlockTimestamp") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NominalDiffTime)))) :*: ((S1 ('MetaSel ('Just "txDetailsBlockTxIndex") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "txDetailsDeposit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)) :*: (S1 ('MetaSel ('Just "txDetailsFee") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Just "txDetailsSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "txDetailsScriptsSuccessful") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))))) :*: (((S1 ('MetaSel ('Just "txDetailsInvalidBefore") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe SlotNo)) :*: S1 ('MetaSel ('Just "txDetailsInvalidHereafter") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe SlotNo))) :*: (S1 ('MetaSel ('Just "txDetailsMetadata") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Value)) :*: (S1 ('MetaSel ('Just "txDetailsAdditionalSigners") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "txDetailsOutputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [UtxoWithBytes])))) :*: ((S1 ('MetaSel ('Just "txDetailsInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [UtxoWithBytes]) :*: S1 ('MetaSel ('Just "txDetailsReferenceInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [UtxoWithBytes])) :*: (S1 ('MetaSel ('Just "txDetailsCollateralInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [UtxoWithBytes]) :*: (S1 ('MetaSel ('Just "txDetailsCollateralReturn") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe UtxoWithBytes)) :*: S1 ('MetaSel ('Just "txDetailsMint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Asset])))))))

data TimestampedTxDetails #

Timestamped TxDetails response.

Instances

Instances details
Eq TimestampedTxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

Show TimestampedTxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

Generic TimestampedTxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

Associated Types

type Rep TimestampedTxDetailsTypeType #

ToJSON TimestampedTxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

FromJSON TimestampedTxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

IsTimestamped TimestampedTxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

type Rep TimestampedTxDetails # 
Instance details

Defined in Maestro.Types.V1.Transactions

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

Defined in Maestro.Types.V1.Transactions