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)] #
toJSON :: Discrete' "ADA" '(1000000, 1) -> Value #
toEncoding :: Discrete' "ADA" '(1000000, 1) -> Encoding #
toJSONList :: [Discrete' "ADA" '(1000000, 1)] -> Value #
toEncodingList :: [Discrete' "ADA" '(1000000, 1)] -> Encoding #
toSamples :: Proxy (Discrete' cur sc) -> [(Text, Discrete' cur sc)] #