Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
GeniusYield.Providers.Blockfrost
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)
- blockfrostDRepState ∷ Project → GYCredential 'GYKeyRoleDRep → IO (Maybe GYDRepState)
- blockfrostDRepsState ∷ Project → Set (GYCredential 'GYKeyRoleDRep) → IO (Map (GYCredential 'GYKeyRoleDRep) (Maybe GYDRepState))
- blockfrostConstitution ∷ Project → IO GYConstitution
- blockfrostProposals ∷ Project → Set GYGovActionId → IO (Seq GYGovActionState)
- blockfrostMempoolTxs ∷ Project → IO [GYTx]
- networkIdToProject ∷ GYNetworkId → Text → Project
Documentation
Instances
IsString Project | |
Defined in Blockfrost.Auth Methods fromString ∷ String → Project # | |
Generic Project | |
Show Project | |
Eq Project | |
Monad m ⇒ MonadReader ClientConfig (BlockfrostClientT m) | |
Defined in Blockfrost.Client.Types Methods 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.12.2.0-73b5cf2654f4bfca9f59314fda448b484fe2f9a02873a2a4785af0657089f8cc" '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
blockfrostDRepsState ∷ Project → Set (GYCredential 'GYKeyRoleDRep) → IO (Map (GYCredential 'GYKeyRoleDRep) (Maybe GYDRepState)) #
blockfrostMempoolTxs ∷ Project → IO [GYTx] #
Arguments
∷ GYNetworkId | The network identifier. |
→ Text | The Blockfrost project identifier. |
→ Project |
Constructs a Blockfrost client.