| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Bitcoin.Api.Types.UnspentTransaction
Synopsis
- data UnspentTransaction = UnspentTransaction {}
- vout :: Lens' UnspentTransaction Integer
- transactionId :: Lens' UnspentTransaction TransactionId
- spendable :: Lens' UnspentTransaction Bool
- scriptPubKey :: Lens' UnspentTransaction Text
- redeemScript :: Lens' UnspentTransaction (Maybe Text)
- confirmations :: Lens' UnspentTransaction Integer
- amount :: Lens' UnspentTransaction Btc
- address :: Lens' UnspentTransaction (Maybe Base58String)
- account :: Lens' UnspentTransaction (Maybe Text)
Documentation
data UnspentTransaction #
A transaction that is not yet spent. Every output transaction relies on one or more unspent input transansactions.
For more detailed documentation of the fields, see: https://bitcoin.org/en/developer-reference#listunspent
Constructors
| UnspentTransaction | |
Fields
| |
Instances
| Show UnspentTransaction # | |
Defined in Network.Bitcoin.Api.Types.UnspentTransaction Methods showsPrec :: Int -> UnspentTransaction -> ShowS # show :: UnspentTransaction -> String # showList :: [UnspentTransaction] -> ShowS # | |
| FromJSON UnspentTransaction # | |
Defined in Network.Bitcoin.Api.Types.UnspentTransaction Methods parseJSON :: Value -> Parser UnspentTransaction # parseJSONList :: Value -> Parser [UnspentTransaction] # | |