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