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