Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- (.:??) :: FromJSON a => Object -> Text -> Parser (Maybe a)
- data Input = Input {
- inputAmount :: Double
- inputAddress :: Text
- inputType :: Text
- data TransactionsElt = TransactionsElt {}
- data Data = Data {}
- data Transaction = Transaction {}
Documentation
(.:??) :: FromJSON a => Object -> Text -> Parser (Maybe a) Source #
Workaround for https://github.com/bos/aeson/issues/287.
Input | |
|
Instances
Eq Input Source # | |
Show Input Source # | |
Generic Input Source # | |
ToJSON Input Source # | |
Defined in PegNet.RPC.Types.Transaction | |
FromJSON Input Source # | |
type Rep Input Source # | |
Defined in PegNet.RPC.Types.Transaction type Rep Input = D1 (MetaData "Input" "PegNet.RPC.Types.Transaction" "api-rpc-pegnet-0.1.1.2-6HuGZvQcnIOEEqfV4LzPQv" False) (C1 (MetaCons "Input" PrefixI True) (S1 (MetaSel (Just "inputAmount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double) :*: (S1 (MetaSel (Just "inputAddress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "inputType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))) |
data TransactionsElt Source #
Instances
Instances
Eq Data Source # | |
Show Data Source # | |
Generic Data Source # | |
ToJSON Data Source # | |
Defined in PegNet.RPC.Types.Transaction | |
FromJSON Data Source # | |
type Rep Data Source # | |
Defined in PegNet.RPC.Types.Transaction type Rep Data = D1 (MetaData "Data" "PegNet.RPC.Types.Transaction" "api-rpc-pegnet-0.1.1.2-6HuGZvQcnIOEEqfV4LzPQv" False) (C1 (MetaCons "Data" PrefixI True) (S1 (MetaSel (Just "dataTransactions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [TransactionsElt]) :*: S1 (MetaSel (Just "dataVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double))) |
data Transaction Source #