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