Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost.Types.Cardano.Utils
Description
Cardano Utils responses
Synopsis
- data DerivedAddress = DerivedAddress {}
- newtype TxEval = TxEval {
- _txEvalResult :: Either TxEvalFailure (Map TxEvalValidator TxEvalBudget)
- data TxEvalValidator = TxEvalValidator {}
- data TxEvalBudget = TxEvalBudget {}
- evalSample :: TxEval
- data TxEvalInput = TxEvalInput {}
Documentation
data DerivedAddress Source #
Derived Shelley address
Constructors
DerivedAddress | |
Fields
|
Instances
Transaction evaluation result wrapper
Constructors
TxEval | |
Fields
|
data TxEvalValidator Source #
Constructors
TxEvalValidator | |
Instances
FromJSON TxEvalValidator Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods parseJSON :: Value -> Parser TxEvalValidator # parseJSONList :: Value -> Parser [TxEvalValidator] # | |||||
FromJSONKey TxEvalValidator Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils | |||||
ToJSON TxEvalValidator Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods toJSON :: TxEvalValidator -> Value # toEncoding :: TxEvalValidator -> Encoding # toJSONList :: [TxEvalValidator] -> Value # toEncodingList :: [TxEvalValidator] -> Encoding # omitField :: TxEvalValidator -> Bool # | |||||
ToJSONKey TxEvalValidator Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils | |||||
Generic TxEvalValidator Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Associated Types
Methods from :: TxEvalValidator -> Rep TxEvalValidator x # to :: Rep TxEvalValidator x -> TxEvalValidator # | |||||
Show TxEvalValidator Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods showsPrec :: Int -> TxEvalValidator -> ShowS # show :: TxEvalValidator -> String # showList :: [TxEvalValidator] -> ShowS # | |||||
Eq TxEvalValidator Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods (==) :: TxEvalValidator -> TxEvalValidator -> Bool # (/=) :: TxEvalValidator -> TxEvalValidator -> Bool # | |||||
Ord TxEvalValidator Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods compare :: TxEvalValidator -> TxEvalValidator -> Ordering # (<) :: TxEvalValidator -> TxEvalValidator -> Bool # (<=) :: TxEvalValidator -> TxEvalValidator -> Bool # (>) :: TxEvalValidator -> TxEvalValidator -> Bool # (>=) :: TxEvalValidator -> TxEvalValidator -> Bool # max :: TxEvalValidator -> TxEvalValidator -> TxEvalValidator # min :: TxEvalValidator -> TxEvalValidator -> TxEvalValidator # | |||||
ToSample TxEvalValidator Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods toSamples :: Proxy TxEvalValidator -> [(Text, TxEvalValidator)] # | |||||
HasIndex TxEvalValidator Int Source # | |||||
Defined in Blockfrost.Lens | |||||
HasPurpose TxEvalValidator ValidationPurpose Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
type Rep TxEvalValidator Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils type Rep TxEvalValidator = D1 ('MetaData "TxEvalValidator" "Blockfrost.Types.Cardano.Utils" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "TxEvalValidator" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txEvalValidatorPurpose") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidationPurpose) :*: S1 ('MetaSel ('Just "_txEvalValidatorIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
data TxEvalBudget Source #
Constructors
TxEvalBudget | |
Fields
|
Instances
FromJSON TxEvalBudget Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils | |||||
ToJSON TxEvalBudget Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods toJSON :: TxEvalBudget -> Value # toEncoding :: TxEvalBudget -> Encoding # toJSONList :: [TxEvalBudget] -> Value # toEncodingList :: [TxEvalBudget] -> Encoding # omitField :: TxEvalBudget -> Bool # | |||||
Generic TxEvalBudget Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Associated Types
| |||||
Show TxEvalBudget Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods showsPrec :: Int -> TxEvalBudget -> ShowS # show :: TxEvalBudget -> String # showList :: [TxEvalBudget] -> ShowS # | |||||
Eq TxEvalBudget Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils | |||||
ToSample TxEvalBudget Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods toSamples :: Proxy TxEvalBudget -> [(Text, TxEvalBudget)] # | |||||
HasMemory TxEvalBudget Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
HasSteps TxEvalBudget Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep TxEvalBudget Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils type Rep TxEvalBudget = D1 ('MetaData "TxEvalBudget" "Blockfrost.Types.Cardano.Utils" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "TxEvalBudget" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txEvalBudgetMemory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_txEvalBudgetSteps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) |
evalSample :: TxEval Source #
data TxEvalInput Source #
Transaction evaluation input for UTXO variant
Constructors
TxEvalInput | |
Fields
|
Instances
FromJSON TxEvalInput Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils | |||||
ToJSON TxEvalInput Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods toJSON :: TxEvalInput -> Value # toEncoding :: TxEvalInput -> Encoding # toJSONList :: [TxEvalInput] -> Value # toEncodingList :: [TxEvalInput] -> Encoding # omitField :: TxEvalInput -> Bool # | |||||
Generic TxEvalInput Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Associated Types
| |||||
Show TxEvalInput Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods showsPrec :: Int -> TxEvalInput -> ShowS # show :: TxEvalInput -> String # showList :: [TxEvalInput] -> ShowS # | |||||
Eq TxEvalInput Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils | |||||
ToSample TxEvalInput Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils Methods toSamples :: Proxy TxEvalInput -> [(Text, TxEvalInput)] # | |||||
HasAdditionalUtxoSet TxEvalInput Value Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasCbor TxEvalInput CBORString Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
type Rep TxEvalInput Source # | |||||
Defined in Blockfrost.Types.Cardano.Utils type Rep TxEvalInput = D1 ('MetaData "TxEvalInput" "Blockfrost.Types.Cardano.Utils" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "TxEvalInput" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txEvalInputCbor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CBORString) :*: S1 ('MetaSel ('Just "_txEvalInputAdditionalUtxoSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value))) |