Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost.Types.Shared.ScriptHash
Description
Script Hash newtype
Synopsis
- newtype ScriptHash = ScriptHash {
- unScriptHash :: Text
- newtype ScriptHashList = ScriptHashList {}
Documentation
newtype ScriptHash Source #
Script Hash newtype
Constructors
ScriptHash | |
Fields
|
Instances
newtype ScriptHashList Source #
Wrapper for list of ScriptHash-es, used by script list endpoint
Constructors
ScriptHashList | |
Fields |
Instances
FromJSON ScriptHashList Source # | |||||
Defined in Blockfrost.Types.Shared.ScriptHash Methods parseJSON :: Value -> Parser ScriptHashList # parseJSONList :: Value -> Parser [ScriptHashList] # | |||||
ToJSON ScriptHashList Source # | |||||
Defined in Blockfrost.Types.Shared.ScriptHash Methods toJSON :: ScriptHashList -> Value # toEncoding :: ScriptHashList -> Encoding # toJSONList :: [ScriptHashList] -> Value # toEncodingList :: [ScriptHashList] -> Encoding # omitField :: ScriptHashList -> Bool # | |||||
Generic ScriptHashList Source # | |||||
Defined in Blockfrost.Types.Shared.ScriptHash Associated Types
Methods from :: ScriptHashList -> Rep ScriptHashList x # to :: Rep ScriptHashList x -> ScriptHashList # | |||||
Show ScriptHashList Source # | |||||
Defined in Blockfrost.Types.Shared.ScriptHash Methods showsPrec :: Int -> ScriptHashList -> ShowS # show :: ScriptHashList -> String # showList :: [ScriptHashList] -> ShowS # | |||||
Eq ScriptHashList Source # | |||||
Defined in Blockfrost.Types.Shared.ScriptHash Methods (==) :: ScriptHashList -> ScriptHashList -> Bool # (/=) :: ScriptHashList -> ScriptHashList -> Bool # | |||||
ToSample ScriptHashList Source # | |||||
Defined in Blockfrost.Types.Shared.ScriptHash Methods toSamples :: Proxy ScriptHashList -> [(Text, ScriptHashList)] # | |||||
type Rep ScriptHashList Source # | |||||
Defined in Blockfrost.Types.Shared.ScriptHash type Rep ScriptHashList = D1 ('MetaData "ScriptHashList" "Blockfrost.Types.Shared.ScriptHash" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "ScriptHashList" 'PrefixI 'True) (S1 ('MetaSel ('Just "unScriptHashList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ScriptHash]))) |