cardano-cli
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.Byron.Tx

Synopsis

Documentation

data Tx era Source #

Instances

Instances details
Show (InAnyShelleyBasedEra Tx) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Show (InAnyCardanoEra Tx) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Show (Tx era) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Methods

showsPrec :: Int -> Tx era -> ShowS Source #

show :: Tx era -> String Source #

showList :: [Tx era] -> ShowS Source #

HasTypeProxy era => HasTypeProxy (Tx era) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Associated Types

data AsType (Tx era) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (Tx era) = AsTx (AsType era)

Methods

proxyToAsType :: Proxy (Tx era) -> AsType (Tx era) Source #

IsShelleyBasedEra era => SerialiseAsCBOR (Tx era) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

IsShelleyBasedEra era => HasTextEnvelope (Tx era) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Eq (InAnyShelleyBasedEra Tx) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Eq (InAnyCardanoEra Tx) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Eq (Tx era) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

Methods

(==) :: Tx era -> Tx era -> Bool Source #

(/=) :: Tx era -> Tx era -> Bool Source #

data AsType (Tx era) 
Instance details

Defined in Cardano.Api.Internal.Tx.Sign

data AsType (Tx era) = AsTx (AsType era)

type TxFile = File (Tx ()) Source #

prettyAddress :: Address ByronAddr -> Text Source #

Pretty-print an address in its Base58 form, and also its full structure.

normalByronTxToGenTx :: ATxAux ByteString -> GenTx ByronBlock Source #

The GenTx is all the kinds of transactions that can be submitted and "normal" Byron transactions are just one of the kinds.

txSpendGenesisUTxOByronPBFT :: Config -> NetworkId -> SomeByronSigningKey -> Address ByronAddr -> [TxOut CtxTx ByronEra] -> ATxAux ByteString Source #

Generate a transaction spending genesis UTxO at a given address, to given outputs, signed by the given key.

txSpendUTxOByronPBFT :: NetworkId -> SomeByronSigningKey -> [TxIn] -> [TxOut CtxTx ByronEra] -> ATxAux ByteString Source #

Generate a transaction from given Tx inputs to outputs, signed by the given key.

nodeSubmitTx :: SocketPath -> NetworkId -> GenTx ByronBlock -> ExceptT ByronTxError IO () Source #

Submit a transaction to a node specified by topology info.

data ScriptValidity Source #

Indicates whether a script is expected to fail or pass validation.

Constructors

ScriptInvalid

Script is expected to fail validation. Transactions marked as such can include scripts that fail validation. Such transactions may be submitted to the chain, in which case the collateral will be taken upon on chain script validation failure.

ScriptValid

Script is expected to pass validation. Transactions marked as such cannot include scripts that fail validation.