blockfrost-api-0.7.0.0: API definitions for blockfrost.io
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blockfrost.Types.Shared.Ada

Description

Lovelaces

Documentation

type Lovelaces = Discrete "ADA" "lovelace" Source #

Orphan instances

FromJSON (Discrete' "ADA" '(1000000, 1)) Source # 
Instance details

Methods

parseJSON :: Value -> Parser (Discrete' "ADA" '(1000000, 1)) #

parseJSONList :: Value -> Parser [Discrete' "ADA" '(1000000, 1)] #

ToJSON (Discrete' "ADA" '(1000000, 1)) Source # 
Instance details

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 #

(KnownSymbol cur, GoodScale sc) => ToSample (Discrete' cur sc) Source # 
Instance details

Methods

toSamples :: Proxy (Discrete' cur sc) -> [(Text, Discrete' cur sc)] #