Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Conveniences for balancing transactions and selecting coins on the mockchain
Synopsis
- balanceAndSubmit ∷ (MonadMockchain m, MonadFail m) ⇒ Wallet → TxBodyContent BuildTx BabbageEra → m (Tx ERA)
- balanceAndSubmitReturn ∷ (MonadMockchain m, MonadFail m) ⇒ Wallet → TxOut CtxTx BabbageEra → TxBodyContent BuildTx BabbageEra → m (Tx ERA)
- paymentTo ∷ (MonadMockchain m, MonadFail m) ⇒ Wallet → Wallet → m (Tx ERA)
Documentation
balanceAndSubmit ∷ (MonadMockchain m, MonadFail m) ⇒ Wallet → TxBodyContent BuildTx BabbageEra → m (Tx ERA) Source #
Balance and submit a transaction using the wallet's UTXOs on the mockchain, using the default network ID
balanceAndSubmitReturn ∷ (MonadMockchain m, MonadFail m) ⇒ Wallet → TxOut CtxTx BabbageEra → TxBodyContent BuildTx BabbageEra → m (Tx ERA) Source #
Balance and submit a transaction using the given return output and the wallet's UTXOs on the mockchain, using the default network ID