| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Rpc.Server.Internal.UtxoRpc.Submit
Synopsis
- submitTxMethod :: MonadRpc e m => Proto SubmitTxRequest -> m (Proto SubmitTxResponse)
- readMempoolMethod :: MonadRpc e m => Proto ReadMempoolRequest -> m (Proto ReadMempoolResponse)
Documentation
submitTxMethod :: MonadRpc e m => Proto SubmitTxRequest -> m (Proto SubmitTxResponse) Source #
Submit a CBOR-serialised list of transactions to the node
readMempoolMethod :: MonadRpc e m => Proto ReadMempoolRequest -> m (Proto ReadMempoolResponse) Source #
Handle the ReadMempool SubmitService RPC method: a point-in-time
snapshot of the mempool's contents. Transactions added or removed after
the read are not reflected.