Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- signTx :: IsShelleyBasedEra era => SigningKey PaymentKey -> Tx era -> Tx era
- txSpendingUTxO :: UTxO -> Tx Era
- fromLedgerTx :: IsShelleyBasedEra era => Tx (ShelleyLedgerEra era) -> Tx era
- utxoProducedByTx :: Tx Era -> UTxO
- txFee' :: Tx era -> Coin
- toLedgerTx :: Tx era -> Tx (ShelleyLedgerEra era)
- recomputeIntegrityHash :: (AlonzoEraPParams ppera, AlonzoEraTxWits txera, AlonzoEraTxBody txera, EraTx txera) => PParams ppera -> [Language] -> Tx txera -> Tx txera
- data Tx era
Extras
signTx :: IsShelleyBasedEra era => SigningKey PaymentKey -> Tx era -> Tx era Source #
Sign transaction using the provided secret key It only works for tx not containing scripts. You can't sign a script utxo with this.
fromLedgerTx :: IsShelleyBasedEra era => Tx (ShelleyLedgerEra era) -> Tx era Source #
utxoProducedByTx :: Tx Era -> UTxO Source #
Get the UTxO that are produced by some transaction. XXX: Defined here to avoid cyclic module dependency
toLedgerTx :: Tx era -> Tx (ShelleyLedgerEra era) Source #
recomputeIntegrityHash :: (AlonzoEraPParams ppera, AlonzoEraTxWits txera, AlonzoEraTxBody txera, EraTx txera) => PParams ppera -> [Language] -> Tx txera -> Tx txera Source #
Compute the integrity hash of a transaction using a list of plutus languages.