atlas-cardano-0.12.0: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2025 GYELD GMBH
LicenseApache 2.0
Maintainer[email protected]
Stabilitydevelop
Safe HaskellSafe-Inferred
LanguageGHC2021

GeniusYield.Providers.Ogmios

Description

 
Synopsis

Documentation

newOgmiosApiEnvStringIO OgmiosApiEnv #

Returns a new OgmiosApiEnv given the base url to query from.

>>> env <- newOgmiosApiEnv "http://localhost:1337"

data OgmiosProviderException #

Exceptions.

Constructors

OgmiosApiError !Text !ClientError

Error from the Ogmios API.

OgmiosErrorResponse !Text !Value

Received error response.

OgmiosIncorrectEraHistoryLength ![EraSummary]

The API returned an unexpected number of era summaries.

OgmiosTransactionDeserialisationError

Unable to deserialise transaction returned by Ogmios.

Fields

OgmiosWebsocketDecodeError

Unable to decode response given by Ogmios under Websocket connection.

Fields

ogmiosSubmitTxOgmiosApiEnvGYSubmitTx #

Submit a transaction to the node via Ogmios.

ogmiosGetSlotOfCurrentBlockOgmiosApiEnvIO GYSlot #

Get slot of current block.