| 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 :: DatumHash -> DatumHash0 Source # | |
| ToBlockfrostDatumHash RedeemerHash Source # | |
| Defined in Plutus.Blockfrost.Utils Methods 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 #