| Copyright | (c) 2023 GYELD GMBH |
|---|---|
| License | Apache 2.0 |
| Maintainer | [email protected] |
| Stability | develop |
| Safe Haskell | None |
| Language | GHC2021 |
GeniusYield.Providers.Kupo
Description
Synopsis
- data KupoApiEnv
- newKupoApiEnv :: String -> IO KupoApiEnv
- kupoLookupDatum :: KupoApiEnv -> GYLookupDatum
- kupoLookupScript :: KupoApiEnv -> GYScriptHash -> IO (Maybe GYAnyScript)
- kupoQueryUtxo :: KupoApiEnv -> GYQueryUTxO
- kupoAwaitTxConfirmed :: KupoApiEnv -> GYAwaitTx
Documentation
data KupoApiEnv #
Kupo api env.
newKupoApiEnv :: String -> IO KupoApiEnv #
Returns a new KupoApiEnv given the base url to query from.
kupoLookupDatum :: KupoApiEnv -> GYLookupDatum #
Given a GYDatumHash returns the corresponding GYDatum if found.
kupoLookupScript :: KupoApiEnv -> GYScriptHash -> IO (Maybe GYAnyScript) #
Given a GYScriptHash returns the corresponding GYScript if found.
kupoQueryUtxo :: KupoApiEnv -> GYQueryUTxO #
Definition of GYQueryUTxO for the Kupo provider.