Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data Project
- blockfrostProtocolParams ∷ Project → IO ApiProtocolParameters
- blockfrostStakePools ∷ Project → IO (Set PoolId)
- blockfrostSystemStart ∷ Project → IO SystemStart
- blockfrostEraHistory ∷ Project → IO EraHistory
- blockfrostQueryUtxo ∷ Project → GYQueryUTxO
- blockfrostLookupDatum ∷ Project → GYLookupDatum
- blockfrostGetSlotOfCurrentBlock ∷ Project → IO GYSlot
- blockfrostSubmitTx ∷ Project → GYSubmitTx
- blockfrostAwaitTxConfirmed ∷ Project → GYAwaitTx
- blockfrostStakeAddressInfo ∷ Project → GYStakeAddress → IO (Maybe GYStakeAddressInfo)
- networkIdToProject ∷ GYNetworkId → Text → Project
Documentation
Instances
IsString Project | |
Defined in Blockfrost.Auth fromString ∷ String → Project # | |
Generic Project | |
Show Project | |
Eq Project | |
Monad m ⇒ MonadReader ClientConfig (BlockfrostClientT m) | |
Defined in Blockfrost.Client.Types ask ∷ BlockfrostClientT m ClientConfig # local ∷ (ClientConfig → ClientConfig) → BlockfrostClientT m a → BlockfrostClientT m a # reader ∷ (ClientConfig → a) → BlockfrostClientT m a # | |
type Rep Project | |
Defined in Blockfrost.Auth type Rep Project = D1 ('MetaData "Project" "Blockfrost.Auth" "blockfrost-api-0.11.0.0-6bc7f9afc83a2075d2ea49305ff75e9008bb337318750313a0afddeb959ad78c" 'False) (C1 ('MetaCons "Project" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectEnv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Env) :*: S1 ('MetaSel ('Just "projectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
blockfrostAwaitTxConfirmed ∷ Project → GYAwaitTx #
Awaits for the confirmation of a given GYTxId
∷ GYNetworkId | The network identifier. |
→ Text | The Blockfrost project identifier. |
→ Project |
Constructs a Blockfrost client.