Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype NetworkIdWrapper = NetworkIdWrapper { }
- testnetNetworkId :: NetworkIdWrapper
Documentation
newtype NetworkIdWrapper Source #
Wrapper for
NetworkId
to prevent the creation of orphan instances.
Instances
Eq NetworkIdWrapper Source # | |
Defined in Cardano.Api.NetworkId.Extra (==) :: NetworkIdWrapper -> NetworkIdWrapper -> Bool Source # (/=) :: NetworkIdWrapper -> NetworkIdWrapper -> Bool Source # |
|
Show NetworkIdWrapper Source # | |
Defined in Cardano.Api.NetworkId.Extra |
|
ToJSON NetworkIdWrapper Source # | |
Defined in Cardano.Api.NetworkId.Extra toJSON :: NetworkIdWrapper -> Value Source # toEncoding :: NetworkIdWrapper -> Encoding Source # toJSONList :: [ NetworkIdWrapper ] -> Value Source # toEncodingList :: [ NetworkIdWrapper ] -> Encoding Source # |
|
FromJSON NetworkIdWrapper Source # |
Custom
This instance parses
Here are some examples:
|
Defined in Cardano.Api.NetworkId.Extra parseJSON :: Value -> Parser NetworkIdWrapper Source # parseJSONList :: Value -> Parser [ NetworkIdWrapper ] Source # |
testnetNetworkId :: NetworkIdWrapper Source #
A network ID for use in testing.