| 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 StakeValidatorHash Source # | |
Defined in Plutus.Blockfrost.Utils Methods toBlockfrostScriptHash :: StakeValidatorHash -> ScriptHash Source # | |
| ToBlockfrostScriptHash MintingPolicyHash Source # | |
Defined in Plutus.Blockfrost.Utils Methods toBlockfrostScriptHash :: MintingPolicyHash -> ScriptHash Source # | |
| ToBlockfrostScriptHash ValidatorHash Source # | |
Defined in Plutus.Blockfrost.Utils Methods toBlockfrostScriptHash :: ValidatorHash -> ScriptHash Source # | |
class Show a => ToBlockfrostDatumHash a where Source #
Minimal complete definition
Nothing
Methods
toBlockfrostDatumHash :: a -> DatumHash Source #
Instances
| ToBlockfrostDatumHash RedeemerHash Source # | |
Defined in Plutus.Blockfrost.Utils Methods | |
| ToBlockfrostDatumHash DatumHash Source # | |
Defined in Plutus.Blockfrost.Utils Methods | |
toBlockfrostTxHash :: TxId -> TxHash Source #
toBlockfrostTxHashes :: [TxId] -> [TxHash] Source #
textToDatumHash :: Text -> DatumHash Source #
textToScriptHash :: Text -> ScriptHash 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 #