hydra-cardano-api-0.20.0: A Haskell API for Cardano, tailored to the Hydra project.
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Cardano.Api.TxId

Synopsis

Type Conversions

toLedgerTxId :: TxId -> TxId StandardCrypto Source #

Convert a cardano-api TxId into a cardano-ledger TxId.

fromLedgerTxId :: TxId StandardCrypto -> TxId Source #

Convert a cardano-ledger TxId into a cardano-api TxId.

Orphan instances

FromCBOR TxId Source # 
Instance details

Methods

fromCBOR :: Decoder s TxId

label :: Proxy TxId -> Text

ToCBOR TxId Source # 
Instance details

Methods

toCBOR :: TxId -> Encoding

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy TxId -> Size

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [TxId] -> Size