Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- mkCommitDatum :: Party -> UTxO -> CurrencySymbol -> Datum
- commitTx :: NetworkId -> ScriptRegistry -> HeadId -> Party -> CommitBlueprintTx Tx -> (TxIn, TxOut CtxUTxO, Hash PaymentKey) -> Tx
Documentation
mkCommitDatum :: Party -> UTxO -> CurrencySymbol -> Datum Source #
:: NetworkId | |
-> ScriptRegistry | Published Hydra scripts to reference. |
-> HeadId | |
-> Party | |
-> CommitBlueprintTx Tx | |
-> (TxIn, TxOut CtxUTxO, Hash PaymentKey) | The initial output (sent to each party) which should contain the PT and is locked by initial script |
-> Tx |
Craft a commit transaction which includes the "committed" utxo as a datum.