{-# OPTIONS_HADDOCK hide #-}
module Blockfrost.API.Cardano.Ledger
where
import Servant.API
import Servant.API.Generic
import Blockfrost.Types.Cardano.Genesis
data LedgerAPI route =
LedgerAPI
{
LedgerAPI route
-> route
:- (Summary "Blockchain genesis"
:> (Description "Return the information about blockchain genesis."
:> Get '[JSON] Genesis))
_genesis
:: route
:- Summary "Blockchain genesis"
:> Description "Return the information about blockchain genesis."
:> Get '[JSON] Genesis
} deriving ((forall x. LedgerAPI route -> Rep (LedgerAPI route) x)
-> (forall x. Rep (LedgerAPI route) x -> LedgerAPI route)
-> Generic (LedgerAPI route)
forall x. Rep (LedgerAPI route) x -> LedgerAPI route
forall x. LedgerAPI route -> Rep (LedgerAPI route) x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
forall route x. Rep (LedgerAPI route) x -> LedgerAPI route
forall route x. LedgerAPI route -> Rep (LedgerAPI route) x
$cto :: forall route x. Rep (LedgerAPI route) x -> LedgerAPI route
$cfrom :: forall route x. LedgerAPI route -> Rep (LedgerAPI route) x
Generic)