atlas-0.1.0.0: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainersupport@geniusyield.co
Stabilitydevelop
Safe HaskellNone
LanguageHaskell2010

GeniusYield.Types.TxBody

Description

 
Synopsis

Transaction body

data GYTxBody #

Transaction body: the part which is then signed.

Instances

Instances details
Show GYTxBody # 
Instance details

Defined in GeniusYield.Types.TxBody

Methods

showsPrecIntGYTxBodyShowS #

showGYTxBodyString #

showList ∷ [GYTxBody] → ShowS #

Conversions

txBodyFromApi ∷ TxBody BabbageEra → GYTxBody #

txBodyToApiGYTxBody → TxBody BabbageEra #

Transaction creation

signTxToShelleyWitnessSigningKey a ⇒ GYTxBody → [a] → GYTx #

Sign a transaction body with (potentially) multiple keys.

unsignedTxGYTxBodyGYTx #

Create an unsigned transaction from the body.

Functions

txBodyFeeGYTxBodyInteger #

Return the fees in lovelace.

txBodyFeeValueGYTxBodyGYValue #

Return the fees as GYValue.

txBodyUTxOsGYTxBodyGYUTxOs #

Return utxos created by tx (body).

txBodyTxInsGYTxBody → [GYTxOutRef] #

Returns the GYTxOutRef consumed by the tx.

txBodyTxInsReferenceGYTxBody → [GYTxOutRef] #

Returns the GYTxOutRef for the reference inputs present in the tx.

txBodyTxIdGYTxBodyGYTxId #

Returns the GYTxId of the given GYTxBody.

txBodyToApiTxBodyContentGYTxBody → TxBodyContent ViewTx BabbageEra #

txBodyMintValueGYTxBodyGYValue #

Returns the mint GYValue of the given GYTxBody.

txBodyValidityRangeGYTxBody → (Maybe GYSlot, Maybe GYSlot) #

Returns the validity range of the given GYTxBody.

txBodyCollateralGYTxBodySet GYTxOutRef #

Returns the set of GYTxOutRef used as collateral in the given GYTxBody.

txBodyCollateralReturnOutputGYTxBody → TxReturnCollateral CtxTx BabbageEra #

txBodyTotalCollateralLovelaceGYTxBodyNatural #

Returns the lovelace sum of all collateral used in the given GYTxBody.

getTxBodyGYTxGYTxBody #

Returns the GYTxBody of the given GYTx.