cardano-api-1.30.0
Safe HaskellNone
LanguageHaskell2010

Gen.Cardano.Api.Typed

Contents

Synopsis

Documentation

genTxOutCardanoEra era → Gen (TxOut CtxTx era) Source #

genUTxOCardanoEra era → Gen (UTxO era) Source #

Scripts

genScriptScriptLanguage lang → Gen (Script lang) Source #

genSigningKeyKey keyrole ⇒ AsType keyrole → Gen (SigningKey keyrole) Source #

genTx ∷ ∀ era. IsCardanoEra era ⇒ CardanoEra era → Gen (Tx era) Source #

genTxBodyIsCardanoEra era ⇒ CardanoEra era → Gen (TxBody era) Source #

genValue ∷ Gen AssetId → Gen Quantity → Gen Value Source #

genValueDefault ∷ Gen Value Source #

Generate a Value with any asset ID and a positive or negative quantity.

genVerificationKeyKey keyrole ⇒ AsType keyrole → Gen (VerificationKey keyrole) Source #

genVerificationKeyHashKey keyrole ⇒ AsType keyrole → Gen (Hash keyrole) Source #

genValueForTxOut ∷ Gen Value Source #

Generate a Value suitable for usage in a transaction output, i.e. any asset ID and a positive quantity.

genValueForMinting ∷ Gen Value Source #

Generate a Value suitable for minting, i.e. non-ADA asset ID and a positive or negative quantity.