Module

Ctl.Internal.Contract.QueryHandle.Type

#QueryHandle

type QueryHandle = { doesTxExist :: TransactionHash -> AffE Boolean, evaluateTx :: Transaction -> AdditionalUtxoSet -> Aff TxEvaluationR, getChainTip :: AffE Tip, getCurrentEpoch :: Aff CurrentEpoch, getDatumByHash :: DataHash -> AffE (Maybe PlutusData), getEraSummaries :: AffE EraSummaries, getOutputAddressesByTxHash :: TransactionHash -> AffE (Array Address), getPoolIds :: AffE (Array PoolPubKeyHash), getPubKeyHashDelegationsAndRewards :: NetworkId -> StakePubKeyHash -> AffE (Maybe DelegationsAndRewards), getScriptByHash :: ScriptHash -> AffE (Maybe ScriptRef), getTxMetadata :: TransactionHash -> Aff (Either GetTxMetadataError GeneralTransactionMetadata), getUtxoByOref :: TransactionInput -> AffE (Maybe TransactionOutput), getValidatorHashDelegationsAndRewards :: NetworkId -> ScriptHash -> AffE (Maybe DelegationsAndRewards), submitTx :: Transaction -> AffE TransactionHash, utxosAt :: Address -> AffE UtxoMap }

#AffE

type AffE (a :: Type) = Aff (Either ClientError a)

Modules