| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Hydra.API.ServerOutputFilter
Synopsis
- newtype ServerOutputFilter tx = ServerOutputFilter {
- txContainsAddr :: TimedServerOutput tx -> Text -> Bool
- serverOutputFilter :: ServerOutputFilter Tx
- matchingAddr :: Text -> Tx -> Bool
Documentation
newtype ServerOutputFilter tx Source #
Constructors
| ServerOutputFilter | |
Fields
| |
matchingAddr :: Text -> Tx -> Bool Source #
Whether a transaction involves the given address, by paying to it or by spending from it.
Both directions matter to a client watching its own address: the snapshot in which its funds leave the head is the one it most needs, and a transaction that spends a UTxO in full leaves no output behind to match on.