Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Utility functions to deserialize the hexadecimal representation of a CBOR encoded Cardano transaction.
To use from the repl run:
cabal repl ouroboros-consensus-cardano:test:cardano-test import Test.Consensus.Cardano.MiniProtocol.LocalTxSubmission.ByteStringTxParser
Documentation
deserialiseTx ∷ ByteString → Either DeserialiseFailure (ByteString, GenTx (CardanoBlock StandardCrypto)) Source #
printDeserializedTx ∷ ByteString → IO () Source #