Blockfrost.Types.Shared.DatumHash
Description
Datum Hash newtype
newtype DatumHash Source #
Hash of the datum
Constructors
Fields
Defined in Blockfrost.Types.Shared.DatumHash
Methods
parseJSON :: Value -> Parser DatumHash #
parseJSONList :: Value -> Parser [DatumHash] #
toJSON :: DatumHash -> Value #
toEncoding :: DatumHash -> Encoding #
toJSONList :: [DatumHash] -> Value #
toEncodingList :: [DatumHash] -> Encoding #
fromString :: String -> DatumHash #
Associated Types
type Rep DatumHash :: Type -> Type #
from :: DatumHash -> Rep DatumHash x #
to :: Rep DatumHash x -> DatumHash #
showsPrec :: Int -> DatumHash -> ShowS #
show :: DatumHash -> String #
showList :: [DatumHash] -> ShowS #
(==) :: DatumHash -> DatumHash -> Bool #
(/=) :: DatumHash -> DatumHash -> Bool #
parseUrlPiece :: Text -> Either Text DatumHash #
parseHeader :: ByteString -> Either Text DatumHash #
parseQueryParam :: Text -> Either Text DatumHash #
toUrlPiece :: DatumHash -> Text #
toEncodedUrlPiece :: DatumHash -> Builder #
toHeader :: DatumHash -> ByteString #
toQueryParam :: DatumHash -> Text #
toSamples :: Proxy DatumHash -> [(Text, DatumHash)] #
Defined in Blockfrost.Lens
datumHash :: Lens' TransactionRedeemer DatumHash Source #
redeemerDataHash :: Lens' TransactionRedeemer DatumHash Source #
dataHash :: Lens' AddressUtxo (Maybe DatumHash) Source #
dataHash :: Lens' UtxoInput (Maybe DatumHash) Source #
dataHash :: Lens' UtxoOutput (Maybe DatumHash) Source #
toCapture :: Proxy (Capture "datum_hash" DatumHash) -> DocCapture #