Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- initTx :: NetworkId -> TxIn -> [OnChainId] -> HeadParameters -> Tx
- mkHeadOutput :: NetworkId -> PolicyId -> TxOutDatum ctx -> TxOut ctx
- mkHeadOutputInitial :: NetworkId -> TxIn -> HeadParameters -> TxOut CtxTx
- mkInitialOutput :: NetworkId -> TxIn -> OnChainId -> TxOut CtxTx
Documentation
:: NetworkId | |
-> TxIn | Seed input. |
-> [OnChainId] | Verification key hashes of all participants. |
-> HeadParameters | |
-> Tx |
Create the init transaction from some HeadParameters
and a single TxIn
which will be used as unique parameter for minting NFTs.
mkHeadOutput :: NetworkId -> PolicyId -> TxOutDatum ctx -> TxOut ctx Source #
mkHeadOutputInitial :: NetworkId -> TxIn -> HeadParameters -> TxOut CtxTx Source #
mkInitialOutput :: NetworkId -> TxIn -> OnChainId -> TxOut CtxTx Source #