cardano-cli
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.Byron.Tx

Synopsis

Documentation

data Tx era #

Instances

Instances details
Show (InAnyShelleyBasedEra Tx) 
Instance details

Defined in Cardano.Api.Tx.Sign

Show (InAnyCardanoEra Tx) 
Instance details

Defined in Cardano.Api.Tx.Sign

Show (Tx era) 
Instance details

Defined in Cardano.Api.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.Tx.Sign

Associated Types

data AsType (Tx era) 
Instance details

Defined in Cardano.Api.Tx.Sign

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

Methods

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

IsShelleyBasedEra era => SerialiseAsCBOR (Tx era) 
Instance details

Defined in Cardano.Api.Tx.Sign

IsShelleyBasedEra era => HasTextEnvelope (Tx era) 
Instance details

Defined in Cardano.Api.Tx.Sign

Eq (InAnyShelleyBasedEra Tx) 
Instance details

Defined in Cardano.Api.Tx.Sign

Eq (InAnyCardanoEra Tx) 
Instance details

Defined in Cardano.Api.Tx.Sign

Eq (Tx era) 
Instance details

Defined in Cardano.Api.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.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.