blockfrost-client-0.7.1.1: blockfrost.io basic client
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blockfrost.Client.Cardano.Scripts

Description

Script queries

Synopsis

Documentation

listScripts :: MonadBlockfrost m => m ScriptHashList Source #

List scripts

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

listScripts' :: MonadBlockfrost m => Paged -> SortOrder -> m ScriptHashList 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

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getScriptRedeemers' :: MonadBlockfrost m => ScriptHash -> Paged -> SortOrder -> m [ScriptRedeemer] Source #

Get redeemers of a specific script Allows custom paging and ordering using Paged and SortOrder.

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