Safe Haskell | None |
---|---|
Language | Haskell2010 |
Plutus.Blockfrost.Utils
Documentation
class Show a => ToBlockfrostScriptHash a where Source #
Minimal complete definition
Nothing
Methods
toBlockfrostScriptHash :: a -> ScriptHash Source #
Instances
ToBlockfrostScriptHash ValidatorHash Source # | |
Defined in Plutus.Blockfrost.Utils Methods toBlockfrostScriptHash :: ValidatorHash -> ScriptHash Source # |
|
ToBlockfrostScriptHash MintingPolicyHash Source # | |
Defined in Plutus.Blockfrost.Utils Methods toBlockfrostScriptHash :: MintingPolicyHash -> ScriptHash Source # |
|
ToBlockfrostScriptHash StakeValidatorHash Source # | |
Defined in Plutus.Blockfrost.Utils Methods toBlockfrostScriptHash :: StakeValidatorHash -> ScriptHash Source # |
class Show a => ToBlockfrostDatumHash a where Source #
Minimal complete definition
Nothing
Methods
toBlockfrostDatumHash :: a -> DatumHash Source #
Instances
ToBlockfrostDatumHash DatumHash Source # | |
Defined in Plutus.Blockfrost.Utils Methods |
|
ToBlockfrostDatumHash RedeemerHash Source # | |
Defined in Plutus.Blockfrost.Utils Methods |
toBlockfrostTxHash :: TxId -> TxHash Source #
toBlockfrostTxHashes :: [ TxId ] -> [ TxHash ] Source #
textToDatumHash :: Text -> DatumHash Source #
textToScriptHash :: Text -> ScriptHash Source #
toCardanoAddress :: Address -> Either String ( AddressInEra BabbageEra ) Source #
credentialToAddress :: NetworkId -> Credential -> Address Source #
txHashToTxId :: TxHash -> TxId Source #
utxoToRef :: AddressUtxo -> TxOutRef Source #
utxoToTxId :: AddressUtxo -> TxId Source #
amountsToValue :: [ Amount ] -> Value Source #
blfAmountToValue :: Amount -> Value Source #
lovelacesToValue :: Lovelaces -> Value Source #
textToSlot :: Text -> Slot Source #