Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Show a => ToBlockfrostScriptHash a where Source #
Nothing
toBlockfrostScriptHash :: a -> ScriptHash Source #
Instances
ToBlockfrostScriptHash ValidatorHash Source # | |
Defined in Plutus.Blockfrost.Utils toBlockfrostScriptHash :: ValidatorHash -> ScriptHash Source # | |
ToBlockfrostScriptHash MintingPolicyHash Source # | |
Defined in Plutus.Blockfrost.Utils toBlockfrostScriptHash :: MintingPolicyHash -> ScriptHash Source # | |
ToBlockfrostScriptHash StakeValidatorHash Source # | |
Defined in Plutus.Blockfrost.Utils toBlockfrostScriptHash :: StakeValidatorHash -> ScriptHash Source # |
class Show a => ToBlockfrostDatumHash a where Source #
Nothing
toBlockfrostDatumHash :: a -> DatumHash Source #
Instances
ToBlockfrostDatumHash DatumHash Source # | |
Defined in Plutus.Blockfrost.Utils toBlockfrostDatumHash :: DatumHash -> DatumHash0 Source # | |
ToBlockfrostDatumHash RedeemerHash Source # | |
Defined in Plutus.Blockfrost.Utils toBlockfrostDatumHash :: RedeemerHash -> DatumHash Source # |
toBlockfrostTxHash :: TxId -> TxHash Source #
toBlockfrostTxHashes :: [TxId] -> [TxHash] Source #
toBlockfrostRef :: TxOutRef -> (TxHash, Integer) Source #
toBlockfrostAssetId :: AssetClass -> AssetId Source #
textToDatumHash :: Text -> DatumHash Source #
textToScriptHash :: Text -> ScriptHash Source #
textToRedeemerHash :: Text -> RedeemerHash Source #
toPlutusScriptTag :: ValidationPurpose -> ScriptTag Source #
toCardanoAddress :: Address -> Either String (AddressInEra BabbageEra) Source #
fromCardanoAddressInEra :: AddressInEra BabbageEra -> Address Source #
credentialToAddress :: NetworkId -> Credential -> Address Source #
txHashToTxId :: TxHash -> TxId Source #
utxoToTxId :: AddressUtxo -> TxId Source #
amountsToValue :: [Amount] -> Value Source #
blfAmountToValue :: Amount -> Value Source #
discreteCurrencyToValue :: SomeDiscrete -> Value Source #
lovelaceConfig :: DecimalConf Source #
lovelacesToMInt :: Lovelaces -> Maybe Integer Source #
lovelacesToValue :: Lovelaces -> Value Source #
textToSlot :: Text -> Slot Source #
toPlutusSlotRange :: Maybe Text -> Maybe Text -> SlotRange Source #