Safe Haskell | None |
---|---|
Language | Haskell2010 |
Script queries
Synopsis
- listScripts :: MonadBlockfrost m => m [ ScriptHash ]
- listScripts' :: MonadBlockfrost m => Paged -> SortOrder -> m [ ScriptHash ]
- getScript :: MonadBlockfrost m => ScriptHash -> m Script
- getScriptRedeemers :: MonadBlockfrost m => ScriptHash -> m [ ScriptRedeemer ]
- getScriptRedeemers' :: MonadBlockfrost m => ScriptHash -> Paged -> SortOrder -> m [ ScriptRedeemer ]
- getScriptDatum :: MonadBlockfrost m => DatumHash -> m ScriptDatum
- getScriptJSON :: MonadBlockfrost m => ScriptHash -> m ScriptJSON
- getScriptCBOR :: MonadBlockfrost m => ScriptHash -> m ScriptCBOR
Documentation
listScripts :: MonadBlockfrost m => m [ ScriptHash ] Source #
List scripts
listScripts' :: MonadBlockfrost m => Paged -> SortOrder -> m [ ScriptHash ] Source #
List scripts
Allows custom paging and ordering using
Paged
and
SortOrder
.
getScript :: MonadBlockfrost m => ScriptHash -> m Script Source #
Get specific script information
getScriptRedeemers :: MonadBlockfrost m => ScriptHash -> m [ ScriptRedeemer ] Source #
Get redeemers of a specific script
getScriptRedeemers' :: MonadBlockfrost m => ScriptHash -> Paged -> SortOrder -> m [ ScriptRedeemer ] Source #
Get redeemers of a specific script
Allows custom paging and ordering using
Paged
and
SortOrder
.
getScriptDatum :: MonadBlockfrost m => DatumHash -> m ScriptDatum Source #
Get specific datum
getScriptJSON :: MonadBlockfrost m => ScriptHash -> m ScriptJSON Source #
Get a JSON representation of a
timelock
script
getScriptCBOR :: MonadBlockfrost m => ScriptHash -> m ScriptCBOR Source #
Get a CBOR representation of a
plutus
script