Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- minUTxOValue :: PParams LedgerEra -> TxOut CtxTx Era -> Value
- valueSize :: Value -> Int
- txMintAssets :: Tx era -> [(AssetId, Quantity)]
- fromLedgerValue :: MaryValue StandardCrypto -> Value
- fromLedgerMultiAsset :: MultiAsset StandardCrypto -> Value
- toLedgerValue :: Value -> MaryValue StandardCrypto
- fromPlutusValue :: Value -> Maybe Value
- toPlutusValue :: Value -> Value
Extras
txMintAssets :: Tx era -> [(AssetId, Quantity)] Source #
Access minted assets of a transaction, as an ordered association list.
Type Conversions
fromLedgerValue :: MaryValue StandardCrypto -> Value Source #
fromLedgerMultiAsset :: MultiAsset StandardCrypto -> Value Source #
Convert a cardano-ledger MultiAsset
into a cardano-api Value
. The
cardano-api currently does not have an asset-only type. So this conversion
will construct a Value
with no AdaAssetId
entry in it.
toLedgerValue :: Value -> MaryValue StandardCrypto Source #