atlas-cardano-0.3.0: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainer[email protected]
Stabilitydevelop
Safe HaskellNone
LanguageHaskell2010

GeniusYield.Providers.CardanoDbSync

Description

Functions in this module throw CardanoDbSyncExceptions. They may also throw postgresql-simple's SqlError.

Synopsis

cardano-db-sync connection

data CardanoDbSyncConn #

Connection to cardano-db-sync database.

openDbSyncConn ∷ ConnectInfo → IO CardanoDbSyncConn #

Slot number

dbSyncWaitUntilSlotCardanoDbSyncConnGYSlotIO GYSlot #

Wait until CardanoDbSyncConn has processed a given slot.

Datum lookup

Query UTxO

Get parameters