| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.CLI.EraBased.Script.Guard.Read
Synopsis
- readConwayRequiredSigners :: [RequiredSigner] -> CIO e [Hash PaymentKey]
- readDijkstraGuards :: [Guard] -> CIO e (TxGuards (LedgerEra DijkstraEra))
- getTxGuardReferenceInputs :: TxGuardRequirements era -> [TxIn]
Documentation
readConwayRequiredSigners :: [RequiredSigner] -> CIO e [Hash PaymentKey] Source #
Conway retains the separate required-signers field in the transaction body.
readDijkstraGuards :: [Guard] -> CIO e (TxGuards (LedgerEra DijkstraEra)) Source #
Read both key and script guards into the API's unified collection. The required-signer CLI flags supply key guards in Dijkstra. Their signatures are added during signing; Nothing here means no script witness is attached.
getTxGuardReferenceInputs :: TxGuardRequirements era -> [TxIn] Source #