pab-blockfrost-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.Blockfrost.Utils

Documentation

class Show a => ToBlockfrostScriptHash a where Source #

Minimal complete definition

Nothing

Methods

toBlockfrostScriptHash :: a -> ScriptHash Source #

Instances

Instances details
ToBlockfrostScriptHash ValidatorHash Source # 
Instance details

Defined in Plutus.Blockfrost.Utils

Methods

toBlockfrostScriptHash :: ValidatorHash -> ScriptHash Source #

ToBlockfrostScriptHash MintingPolicyHash Source # 
Instance details

Defined in Plutus.Blockfrost.Utils

Methods

toBlockfrostScriptHash :: MintingPolicyHash -> ScriptHash Source #

ToBlockfrostScriptHash StakeValidatorHash Source # 
Instance details

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

Instances details
ToBlockfrostDatumHash DatumHash Source # 
Instance details

Defined in Plutus.Blockfrost.Utils

Methods

toBlockfrostDatumHash :: DatumHash -> DatumHash0 Source #

ToBlockfrostDatumHash RedeemerHash Source # 
Instance details

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 #

utxoToRef :: AddressUtxo -> TxOutRef Source #

utxoToTxId :: AddressUtxo -> TxId Source #

txoToRef :: UtxoInput -> TxOutRef Source #

txoToTxId :: UtxoInput -> TxId Source #

amountsToValue :: [Amount] -> Value Source #

blfAmountToValue :: Amount -> Value Source #

discreteCurrencyToValue :: SomeDiscrete -> Value Source #

lovelaceConfig :: DecimalConf Source #

lovelacesToValue :: Lovelaces -> Value Source #

textToSlot :: Text -> Slot Source #

toPlutusSlotRange :: Maybe Text -> Maybe Text -> SlotRange Source #