Skip to content

Commit 85c94bb

Browse files
committed
Expose new TxBodyContent via Cardano.Api.Experimental.Tx
1 parent add91a3 commit 85c94bb

File tree

1 file changed

+21
-4
lines changed
  • cardano-api/src/Cardano/Api/Experimental

1 file changed

+21
-4
lines changed

cardano-api/src/Cardano/Api/Experimental/Tx.hs

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,26 @@ module Cardano.Api.Experimental.Tx
124124
, convertTxBodyToUnsignedTx
125125
, hashTxBody
126126

127+
-- * TxBodyContent
128+
, TxBodyContent (..)
129+
, defaultTxBodyContent
130+
, setTxCertificates
131+
, setTxIns
132+
, setTxOuts
133+
, setTxMintValue
134+
, setTxProposalProcedures
135+
, setTxVotingProcedures
136+
, setTxWithdrawals
137+
, setTxFee
138+
139+
-- * TxBodyContent sub type
140+
, TxCertificates (..)
141+
, TxMintValue (..)
142+
, TxOut (..)
143+
, TxProposalProcedures (..)
144+
, TxVotingProcedures (..)
145+
, TxWithdrawals (..)
146+
127147
-- * Witness
128148

129149
-- ** Any witness (key, simple script, plutus script).
@@ -150,10 +170,7 @@ import Cardano.Api.Era.Internal.Core qualified as Api
150170
import Cardano.Api.Era.Internal.Eon.ShelleyBasedEra
151171
import Cardano.Api.Experimental.Era
152172
import Cardano.Api.Experimental.Tx.Internal.AnyWitness
153-
import Cardano.Api.Experimental.Tx.Internal.BodyContent.Old
154-
( extractAllIndexedPlutusScriptWitnesses
155-
, makeUnsignedTx
156-
)
173+
import Cardano.Api.Experimental.Tx.Internal.BodyContent.New
157174
import Cardano.Api.Experimental.Tx.Internal.TxScriptWitnessRequirements
158175
import Cardano.Api.Experimental.Tx.Internal.Type
159176
import Cardano.Api.HasTypeProxy (HasTypeProxy (..), Proxy, asType)

0 commit comments

Comments
 (0)