Copyright | (c) 2023 GYELD GMBH |
---|---|
License | Apache 2.0 |
Maintainer | [email protected] |
Stability | develop |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
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.