Blockfrost.Types.Shared.Ada
Contents
Description
Lovelaces
type Lovelaces = Discrete "ADA" "lovelace" Source #
Methods
parseJSON :: Value -> Parser (Discrete' "ADA" '(1000000, 1)) #
parseJSONList :: Value -> Parser [Discrete' "ADA" '(1000000, 1)] #
omittedField :: Maybe (Discrete' "ADA" '(1000000, 1)) #
toJSON :: Discrete' "ADA" '(1000000, 1) -> Value #
toEncoding :: Discrete' "ADA" '(1000000, 1) -> Encoding #
toJSONList :: [Discrete' "ADA" '(1000000, 1)] -> Value #
toEncodingList :: [Discrete' "ADA" '(1000000, 1)] -> Encoding #
omitField :: Discrete' "ADA" '(1000000, 1) -> Bool #
toSamples :: Proxy (Discrete' cur sc) -> [(Text, Discrete' cur sc)] #