Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data QueryService = QueryService {
- data AnyChainDatum
- data AnyChainDatum'ParsedState = AnyChainDatum'Cardano !PlutusData
- _AnyChainDatum'Cardano :: Prism' AnyChainDatum'ParsedState PlutusData
- data AnyChainParams
- data AnyChainParams'Params = AnyChainParams'Cardano !PParams
- _AnyChainParams'Cardano :: Prism' AnyChainParams'Params PParams
- data AnyUtxoData
- data AnyUtxoData'ParsedState = AnyUtxoData'Cardano !TxOutput
- _AnyUtxoData'Cardano :: Prism' AnyUtxoData'ParsedState TxOutput
- data AnyUtxoPattern
- data AnyUtxoPattern'UtxoPattern = AnyUtxoPattern'Cardano !TxOutputPattern
- _AnyUtxoPattern'Cardano :: Prism' AnyUtxoPattern'UtxoPattern TxOutputPattern
- data ChainPoint
- data ReadDataRequest
- data ReadDataResponse
- data ReadParamsRequest
- data ReadParamsResponse
- data ReadUtxosRequest
- data ReadUtxosResponse
- data SearchUtxosRequest
- data SearchUtxosResponse
- data TxoRef
- data UtxoPredicate
Documentation
data QueryService Source #
Instances
data AnyChainDatum Source #
Fields :
nativeBytes
:: Lens' AnyChainDatum Data.ByteString.ByteString
key
:: Lens' AnyChainDatum Data.ByteString.ByteString
maybe'parsedState
:: Lens' AnyChainDatum (Prelude.Maybe AnyChainDatum'ParsedState)
maybe'cardano
:: Lens' AnyChainDatum (Prelude.Maybe Proto.Utxorpc.V1alpha.Cardano.Cardano.PlutusData)
cardano
:: Lens' AnyChainDatum Proto.Utxorpc.V1alpha.Cardano.Cardano.PlutusData
Instances
data AnyChainDatum'ParsedState Source #
Instances
data AnyChainParams Source #
Fields :
maybe'params
:: Lens' AnyChainParams (Prelude.Maybe AnyChainParams'Params)
maybe'cardano
:: Lens' AnyChainParams (Prelude.Maybe Proto.Utxorpc.V1alpha.Cardano.Cardano.PParams)
cardano
:: Lens' AnyChainParams Proto.Utxorpc.V1alpha.Cardano.Cardano.PParams
Instances
data AnyChainParams'Params Source #
Instances
data AnyUtxoData Source #
Fields :
nativeBytes
:: Lens' AnyUtxoData Data.ByteString.ByteString
txoRef
:: Lens' AnyUtxoData TxoRef
maybe'txoRef
:: Lens' AnyUtxoData (Prelude.Maybe TxoRef)
maybe'parsedState
:: Lens' AnyUtxoData (Prelude.Maybe AnyUtxoData'ParsedState)
maybe'cardano
:: Lens' AnyUtxoData (Prelude.Maybe Proto.Utxorpc.V1alpha.Cardano.Cardano.TxOutput)
cardano
:: Lens' AnyUtxoData Proto.Utxorpc.V1alpha.Cardano.Cardano.TxOutput
Instances
data AnyUtxoData'ParsedState Source #
Instances
data AnyUtxoPattern Source #
Fields :
maybe'utxoPattern
:: Lens' AnyUtxoPattern (Prelude.Maybe AnyUtxoPattern'UtxoPattern)
maybe'cardano
:: Lens' AnyUtxoPattern (Prelude.Maybe Proto.Utxorpc.V1alpha.Cardano.Cardano.TxOutputPattern)
cardano
:: Lens' AnyUtxoPattern Proto.Utxorpc.V1alpha.Cardano.Cardano.TxOutputPattern
Instances
data AnyUtxoPattern'UtxoPattern Source #
Instances
data ChainPoint Source #
Fields :
Instances
data ReadDataRequest Source #
Fields :
keys
:: Lens' ReadDataRequest [Data.ByteString.ByteString]
vec'keys
:: Lens' ReadDataRequest (Data.Vector.Vector Data.ByteString.ByteString)
fieldMask
:: Lens' ReadDataRequest Proto.Google.Protobuf.FieldMask.FieldMask
maybe'fieldMask
:: Lens' ReadDataRequest (Prelude.Maybe Proto.Google.Protobuf.FieldMask.FieldMask)
Instances
data ReadDataResponse Source #
Fields :
values
:: Lens' ReadDataResponse [AnyChainDatum]
vec'values
:: Lens' ReadDataResponse (Data.Vector.Vector AnyChainDatum)
ledgerTip
:: Lens' ReadDataResponse ChainPoint
maybe'ledgerTip
:: Lens' ReadDataResponse (Prelude.Maybe ChainPoint)
Instances
data ReadParamsRequest Source #
Fields :
fieldMask
:: Lens' ReadParamsRequest Proto.Google.Protobuf.FieldMask.FieldMask
maybe'fieldMask
:: Lens' ReadParamsRequest (Prelude.Maybe Proto.Google.Protobuf.FieldMask.FieldMask)
Instances
data ReadParamsResponse Source #
Fields :
values
:: Lens' ReadParamsResponse AnyChainParams
maybe'values
:: Lens' ReadParamsResponse (Prelude.Maybe AnyChainParams)
ledgerTip
:: Lens' ReadParamsResponse ChainPoint
maybe'ledgerTip
:: Lens' ReadParamsResponse (Prelude.Maybe ChainPoint)
Instances
data ReadUtxosRequest Source #
Fields :
keys
:: Lens' ReadUtxosRequest [TxoRef]
vec'keys
:: Lens' ReadUtxosRequest (Data.Vector.Vector TxoRef)
fieldMask
:: Lens' ReadUtxosRequest Proto.Google.Protobuf.FieldMask.FieldMask
maybe'fieldMask
:: Lens' ReadUtxosRequest (Prelude.Maybe Proto.Google.Protobuf.FieldMask.FieldMask)
Instances
data ReadUtxosResponse Source #
Fields :
items
:: Lens' ReadUtxosResponse [AnyUtxoData]
vec'items
:: Lens' ReadUtxosResponse (Data.Vector.Vector AnyUtxoData)
ledgerTip
:: Lens' ReadUtxosResponse ChainPoint
maybe'ledgerTip
:: Lens' ReadUtxosResponse (Prelude.Maybe ChainPoint)
Instances
data SearchUtxosRequest Source #
Fields :
predicate
:: Lens' SearchUtxosRequest UtxoPredicate
maybe'predicate
:: Lens' SearchUtxosRequest (Prelude.Maybe UtxoPredicate)
fieldMask
:: Lens' SearchUtxosRequest Proto.Google.Protobuf.FieldMask.FieldMask
maybe'fieldMask
:: Lens' SearchUtxosRequest (Prelude.Maybe Proto.Google.Protobuf.FieldMask.FieldMask)
maxItems
:: Lens' SearchUtxosRequest Data.Int.Int32
startToken
:: Lens' SearchUtxosRequest Data.Text.Text
Instances
data SearchUtxosResponse Source #
Fields :
items
:: Lens' SearchUtxosResponse [AnyUtxoData]
vec'items
:: Lens' SearchUtxosResponse (Data.Vector.Vector AnyUtxoData)
ledgerTip
:: Lens' SearchUtxosResponse ChainPoint
maybe'ledgerTip
:: Lens' SearchUtxosResponse (Prelude.Maybe ChainPoint)
nextToken
:: Lens' SearchUtxosResponse Data.Text.Text
Instances
Instances
data UtxoPredicate Source #
Fields :
match
:: Lens' UtxoPredicate AnyUtxoPattern
maybe'match
:: Lens' UtxoPredicate (Prelude.Maybe AnyUtxoPattern)
not
:: Lens' UtxoPredicate [UtxoPredicate]
vec'not
:: Lens' UtxoPredicate (Data.Vector.Vector UtxoPredicate)
allOf
:: Lens' UtxoPredicate [UtxoPredicate]
vec'allOf
:: Lens' UtxoPredicate (Data.Vector.Vector UtxoPredicate)
anyOf
:: Lens' UtxoPredicate [UtxoPredicate]
vec'anyOf
:: Lens' UtxoPredicate (Data.Vector.Vector UtxoPredicate)