Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
ChainTip type with ToJSON / FromJSON instances
Synopsis
- newtype JSONChainTip = JSONChainTip {}
- blockHeaderTip ∷ BlockHeader → ChainTip
- newtype JSONChainPoint = JSONChainPoint ChainPoint
- blockHeaderPoint ∷ BlockHeader → ChainPoint
- newtype JSONBlockNo = JSONBlockNo {}
- chainPointText ∷ ChainPoint → Text
Documentation
newtype JSONChainTip Source #
Instances
FromJSON JSONChainTip Source # | |
Defined in Convex.NodeClient.ChainTip | |
ToJSON JSONChainTip Source # | |
Defined in Convex.NodeClient.ChainTip toJSON ∷ JSONChainTip → Value Source # toEncoding ∷ JSONChainTip → Encoding Source # toJSONList ∷ [JSONChainTip] → Value Source # | |
Show JSONChainTip Source # | |
Defined in Convex.NodeClient.ChainTip | |
Eq JSONChainTip Source # | |
Defined in Convex.NodeClient.ChainTip (==) ∷ JSONChainTip → JSONChainTip → Bool Source # (/=) ∷ JSONChainTip → JSONChainTip → Bool Source # |
newtype JSONChainPoint Source #
Instances
FromJSON JSONChainPoint Source # | |
Defined in Convex.NodeClient.ChainTip | |
ToJSON JSONChainPoint Source # | |
Defined in Convex.NodeClient.ChainTip | |
Show JSONChainPoint Source # | |
Defined in Convex.NodeClient.ChainTip | |
Eq JSONChainPoint Source # | |
Defined in Convex.NodeClient.ChainTip (==) ∷ JSONChainPoint → JSONChainPoint → Bool Source # (/=) ∷ JSONChainPoint → JSONChainPoint → Bool Source # |
newtype JSONBlockNo Source #
Instances
FromJSON JSONBlockNo Source # | |
Defined in Convex.NodeClient.ChainTip parseJSON ∷ Value → Parser JSONBlockNo Source # parseJSONList ∷ Value → Parser [JSONBlockNo] Source # | |
ToJSON JSONBlockNo Source # | |
Defined in Convex.NodeClient.ChainTip toJSON ∷ JSONBlockNo → Value Source # toEncoding ∷ JSONBlockNo → Encoding Source # toJSONList ∷ [JSONBlockNo] → Value Source # toEncodingList ∷ [JSONBlockNo] → Encoding Source # | |
Show JSONBlockNo Source # | |
Defined in Convex.NodeClient.ChainTip | |
Eq JSONBlockNo Source # | |
Defined in Convex.NodeClient.ChainTip (==) ∷ JSONBlockNo → JSONBlockNo → Bool Source # (/=) ∷ JSONBlockNo → JSONBlockNo → Bool Source # |