plutus-pab-1.2.0.0
Safe Haskell None
Language Haskell2010

Cardano.Wallet.LocalClient.ExportTx

Description

Turn UnbalancedTx values into transactions using the wallet API.

Synopsis

Documentation

balanceTx :: forall (effs :: [ Type -> Type ]). Member WalletEffect effs => UnbalancedTx -> Eff effs ( Either WalletAPIError CardanoTx) #

handleTx :: ( Member WalletEffect effs, Member ( Error WalletAPIError) effs) => UnbalancedTx -> Eff effs CardanoTx Source #

Balance an unabalanced transaction, sign it, and submit it to the chain in the context of a wallet.

yieldUnbalancedTx :: forall (effs :: [ Type -> Type ]). Member WalletEffect effs => UnbalancedTx -> Eff effs () #

signTxAndSubmit :: forall (effs :: [ Type -> Type ]). Member WalletEffect effs => CardanoTx -> Eff effs CardanoTx #

Exporting transactions

data ExportTx Source #

Partial transaction that can be balanced by the wallet backend.

Constructors

ExportTx

Fields

Instances

Instances details
Eq ExportTx Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

Show ExportTx Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

Generic ExportTx Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

ToJSON ExportTx Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

FromJSON ExportTx Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

ToSchema ExportTx Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ExportTx Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

data ExportTxInput Source #

Instances

Instances details
Eq ExportTxInput Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

Show ExportTxInput Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

Generic ExportTxInput Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

ToJSON ExportTxInput Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

FromJSON ExportTxInput Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

ToSchema ExportTxInput Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ExportTxInput Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

data ExportTxRedeemer Source #

Instances

Instances details
Eq ExportTxRedeemer Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

Show ExportTxRedeemer Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

Generic ExportTxRedeemer Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

ToJSON ExportTxRedeemer Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

FromJSON ExportTxRedeemer Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx

ToSchema ExportTxRedeemer Source #
Instance details

Defined in Plutus.PAB.Webserver.Types

type Rep ExportTxRedeemer Source #
Instance details

Defined in Cardano.Wallet.LocalClient.ExportTx