cardano-wallet-core-2022.7.1: The Wallet Backend for a Cardano node.
Copyright © 2022 IOHK
License Apache-2.0
Safe Haskell None
Language Haskell2010

Cardano.Api.Extra

Description

Module containing extra Api functionality needed by the wallet.

Synopsis

Documentation

withShelleyBasedTx :: InAnyShelleyBasedEra Tx -> ( forall era. IsShelleyBasedEra era => Tx era -> a) -> a Source #

Apply an era-parameterized function to an existentially-wrapped tx.

inAnyCardanoEra :: IsCardanoEra era => Tx era -> InAnyCardanoEra Tx Source #

Helper function for more easily creating an existential InAnyCardanoEra Tx .