cardano-cli
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.EraBased.Transaction.SubTransaction.Run

Description

Runners for Dijkstra sub-transactions: the sub-transaction command group, and reading signed sub-transactions for embedding in a top-level transaction.

Synopsis

Documentation

readSignedSubTransactions :: [SignedSubTxFile 'In] -> CIO e [SignedSubTx] Source #

Read the signed sub-transactions named on the command line, checking that none is given twice (the ledger keys them by id, so a duplicate would silently collapse).

validateCanonicalSubTransactions :: TxCborFormat -> ShelleyBasedEra era -> Tx era -> Either TxCmdError () Source #

Canonicalising an outer transaction must preserve both the signed body and the hashed payloads of every embedded sub-transaction.