Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- handleChainIndexClient :: forall m effs. (LastMember m effs, Member (Reader ClientEnv) effs, MonadIO m, Member (Error ClientError) effs) => ChainIndexQueryEffect ~> Eff effs
- healthCheck :: ClientM NoContent
- collectGarbage :: ClientM NoContent
- getDatum :: DatumHash -> ClientM Datum
- getValidator :: ValidatorHash -> ClientM (Versioned Validator)
- getMintingPolicy :: MintingPolicyHash -> ClientM (Versioned MintingPolicy)
- getStakeValidator :: StakeValidatorHash -> ClientM (Versioned StakeValidator)
- getRedeemer :: RedeemerHash -> ClientM Redeemer
- getTxOut :: TxOutRef -> ClientM DecoratedTxOut
- getTx :: TxId -> ClientM ChainIndexTx
- getUnspentTxOut :: TxOutRef -> ClientM DecoratedTxOut
- getIsUtxo :: TxOutRef -> ClientM IsUtxoResponse
- getUtxoSetAtAddress :: UtxoByAddressRequest -> ClientM UtxosResponse
- getUnspentTxOutsAtAddress :: QueryAtAddressRequest -> ClientM (QueryResponse [(TxOutRef, DecoratedTxOut)])
- getUtxoSetWithCurrency :: UtxoWithCurrencyRequest -> ClientM UtxosResponse
- getTxs :: [TxId] -> ClientM [ChainIndexTx]
- getTxoSetAtAddress :: TxoAtAddressRequest -> ClientM TxosResponse
- getTip :: ClientM Tip
HTTP Client handler
handleChainIndexClient :: forall m effs. (LastMember m effs, Member (Reader ClientEnv) effs, MonadIO m, Member (Error ClientError) effs) => ChainIndexQueryEffect ~> Eff effs Source #
Handle ChainIndexQueryEffect
by making HTTP calls to a remote
server.
Servant client functions
healthCheck :: ClientM NoContent Source #
collectGarbage :: ClientM NoContent Source #
getValidator :: ValidatorHash -> ClientM (Versioned Validator) Source #
getMintingPolicy :: MintingPolicyHash -> ClientM (Versioned MintingPolicy) Source #
getStakeValidator :: StakeValidatorHash -> ClientM (Versioned StakeValidator) Source #
getRedeemer :: RedeemerHash -> ClientM Redeemer Source #
getTx :: TxId -> ClientM ChainIndexTx Source #
getUnspentTxOut :: TxOutRef -> ClientM DecoratedTxOut Source #
getIsUtxo :: TxOutRef -> ClientM IsUtxoResponse Source #
getUtxoSetAtAddress :: UtxoByAddressRequest -> ClientM UtxosResponse Source #
getUnspentTxOutsAtAddress :: QueryAtAddressRequest -> ClientM (QueryResponse [(TxOutRef, DecoratedTxOut)]) Source #
getUtxoSetWithCurrency :: UtxoWithCurrencyRequest -> ClientM UtxosResponse Source #
getTxs :: [TxId] -> ClientM [ChainIndexTx] Source #
getTxoSetAtAddress :: TxoAtAddressRequest -> ClientM TxosResponse Source #