blockfrost-client-0.10.0.0: blockfrost.io basic client
Safe HaskellNone
LanguageHaskell2010

Blockfrost.Client

Description

Blockfrost client

Synopsis

Documentation

data Project #

Constructors

Project 

Fields

Instances

Instances details
IsString Project 
Instance details

Defined in Blockfrost.Auth

Methods

fromString :: String -> Project #

Generic Project 
Instance details

Defined in Blockfrost.Auth

Associated Types

type Rep Project 
Instance details

Defined in Blockfrost.Auth

type Rep Project = D1 ('MetaData "Project" "Blockfrost.Auth" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "Project" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectEnv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Env) :*: S1 ('MetaSel ('Just "projectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Project -> Rep Project x #

to :: Rep Project x -> Project #

Show Project 
Instance details

Defined in Blockfrost.Auth

Eq Project 
Instance details

Defined in Blockfrost.Auth

Methods

(==) :: Project -> Project -> Bool #

(/=) :: Project -> Project -> Bool #

Monad m => MonadReader ClientConfig (BlockfrostClientT m) Source # 
Instance details

Defined in Blockfrost.Client.Types

type Rep Project 
Instance details

Defined in Blockfrost.Auth

type Rep Project = D1 ('MetaData "Project" "Blockfrost.Auth" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "Project" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectEnv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Env) :*: S1 ('MetaSel ('Just "projectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data NutLinkAPI route #

Constructors

NutLinkAPI 

Fields

Instances

Instances details
Generic (NutLinkAPI route) 
Instance details

Defined in Blockfrost.API.NutLink

Associated Types

type Rep (NutLinkAPI route) 
Instance details

Defined in Blockfrost.API.NutLink

type Rep (NutLinkAPI route) = D1 ('MetaData "NutLinkAPI" "Blockfrost.API.NutLink" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "NutLinkAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List metadata about specific address" :> (Description "List metadata about specific address" :> (Capture "address" Address :> Get '[JSON] NutlinkAddress))))) :*: S1 ('MetaSel ('Just "_listAddressTickers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List tickers for a specific metadata oracle" :> (Description "List tickers for a specific metadata oracle" :> (Capture "address" Address :> ("tickers" :> (Pagination :> (Sorting :> Get '[JSON] [NutlinkAddressTicker]))))))))) :*: (S1 ('MetaSel ('Just "_addressTickers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of records of a specific ticker" :> (Description "List of records of a specific ticker" :> (Capture "address" Address :> ("tickers" :> (Capture "ticker" Text :> (Pagination :> (Sorting :> Get '[JSON] [NutlinkTicker]))))))))) :*: S1 ('MetaSel ('Just "_tickers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of records of a specific ticker" :> (Description "List of records of a specific ticker" :> ("tickers" :> (Capture "ticker" Text :> (Pagination :> (Sorting :> Get '[JSON] [(Address, NutlinkTicker)])))))))))))

Methods

from :: NutLinkAPI route -> Rep (NutLinkAPI route) x #

to :: Rep (NutLinkAPI route) x -> NutLinkAPI route #

type Rep (NutLinkAPI route) 
Instance details

Defined in Blockfrost.API.NutLink

type Rep (NutLinkAPI route) = D1 ('MetaData "NutLinkAPI" "Blockfrost.API.NutLink" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "NutLinkAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List metadata about specific address" :> (Description "List metadata about specific address" :> (Capture "address" Address :> Get '[JSON] NutlinkAddress))))) :*: S1 ('MetaSel ('Just "_listAddressTickers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List tickers for a specific metadata oracle" :> (Description "List tickers for a specific metadata oracle" :> (Capture "address" Address :> ("tickers" :> (Pagination :> (Sorting :> Get '[JSON] [NutlinkAddressTicker]))))))))) :*: (S1 ('MetaSel ('Just "_addressTickers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of records of a specific ticker" :> (Description "List of records of a specific ticker" :> (Capture "address" Address :> ("tickers" :> (Capture "ticker" Text :> (Pagination :> (Sorting :> Get '[JSON] [NutlinkTicker]))))))))) :*: S1 ('MetaSel ('Just "_tickers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of records of a specific ticker" :> (Description "List of records of a specific ticker" :> ("tickers" :> (Capture "ticker" Text :> (Pagination :> (Sorting :> Get '[JSON] [(Address, NutlinkTicker)])))))))))))

data TransactionsAPI route #

Constructors

TransactionsAPI 

Fields

Instances

Instances details
Generic (TransactionsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Transactions

Associated Types

type Rep (TransactionsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Transactions

type Rep (TransactionsAPI route) = D1 ('MetaData "TransactionsAPI" "Blockfrost.API.Cardano.Transactions" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "TransactionsAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_tx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific transaction" :> (Description "Return content of the requested transaction." :> (Capture "hash" TxHash :> Get '[JSON] Transaction))))) :*: (S1 ('MetaSel ('Just "_txUtxos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction UTXOs" :> (Description "Return the inputs and UTXOs of the specific transaction." :> (Capture "hash" TxHash :> ("utxos" :> Get '[JSON] TransactionUtxos)))))) :*: S1 ('MetaSel ('Just "_txRedeemers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction redeemers" :> (Description "Obtain the transaction redeemers." :> (Capture "hash" TxHash :> ("redeemers" :> Get '[JSON] [TransactionRedeemer])))))))) :*: (S1 ('MetaSel ('Just "_txStakes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction stake addresses certificates " :> (Description "Obtain information about (de)registration of stake addresses within a transaction." :> (Capture "hash" TxHash :> ("stakes" :> Get '[JSON] [TransactionStake])))))) :*: (S1 ('MetaSel ('Just "_txDelegations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction delegation certificates" :> (Description "Obtain information about delegation certificates of a specific transaction." :> (Capture "hash" TxHash :> ("delegations" :> Get '[JSON] [TransactionDelegation])))))) :*: S1 ('MetaSel ('Just "_txWithdrawals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction withdrawal" :> (Description "Obtain information about withdrawals of a specific transaction." :> (Capture "hash" TxHash :> ("withdrawals" :> Get '[JSON] [TransactionWithdrawal]))))))))) :*: ((S1 ('MetaSel ('Just "_txMirs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction MIRs" :> (Description "Obtain information about Move Instantaneous Rewards (MIRs) of a specific transaction." :> (Capture "hash" TxHash :> ("mirs" :> Get '[JSON] [TransactionMir])))))) :*: (S1 ('MetaSel ('Just "_txPoolUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction stake pool registration and update certificates" :> (Description "Obtain information about stake pool registration and update certificates of a specific transaction." :> (Capture "hash" TxHash :> ("pool_updates" :> Get '[JSON] [TransactionPoolUpdate])))))) :*: S1 ('MetaSel ('Just "_txPoolRetiring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction stake pool retirement certificates" :> (Description "Obtain information about stake pool retirements within a specific transaction." :> (Capture "hash" TxHash :> ("pool_retires" :> Get '[JSON] [TransactionPoolRetiring])))))))) :*: (S1 ('MetaSel ('Just "_txMetadataJSON") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction metadata" :> (Description "Obtain the transaction metadata." :> (Capture "hash" TxHash :> ("metadata" :> Get '[JSON] [TransactionMetaJSON])))))) :*: (S1 ('MetaSel ('Just "_txCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction in CBOR" :> (Description "Obtain the CBOR serialized transaction." :> (Capture "hash" TxHash :> ("cbor" :> Get '[JSON] TransactionCBOR)))))) :*: S1 ('MetaSel ('Just "_txMetadataCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction metadata in CBOR" :> (Description "Obtain the transaction metadata in CBOR." :> (Capture "hash" TxHash :> ("metadata" :> ("cbor" :> Get '[JSON] [TransactionMetaCBOR]))))))))))))

Methods

from :: TransactionsAPI route -> Rep (TransactionsAPI route) x #

to :: Rep (TransactionsAPI route) x -> TransactionsAPI route #

type Rep (TransactionsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Transactions

type Rep (TransactionsAPI route) = D1 ('MetaData "TransactionsAPI" "Blockfrost.API.Cardano.Transactions" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "TransactionsAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_tx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific transaction" :> (Description "Return content of the requested transaction." :> (Capture "hash" TxHash :> Get '[JSON] Transaction))))) :*: (S1 ('MetaSel ('Just "_txUtxos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction UTXOs" :> (Description "Return the inputs and UTXOs of the specific transaction." :> (Capture "hash" TxHash :> ("utxos" :> Get '[JSON] TransactionUtxos)))))) :*: S1 ('MetaSel ('Just "_txRedeemers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction redeemers" :> (Description "Obtain the transaction redeemers." :> (Capture "hash" TxHash :> ("redeemers" :> Get '[JSON] [TransactionRedeemer])))))))) :*: (S1 ('MetaSel ('Just "_txStakes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction stake addresses certificates " :> (Description "Obtain information about (de)registration of stake addresses within a transaction." :> (Capture "hash" TxHash :> ("stakes" :> Get '[JSON] [TransactionStake])))))) :*: (S1 ('MetaSel ('Just "_txDelegations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction delegation certificates" :> (Description "Obtain information about delegation certificates of a specific transaction." :> (Capture "hash" TxHash :> ("delegations" :> Get '[JSON] [TransactionDelegation])))))) :*: S1 ('MetaSel ('Just "_txWithdrawals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction withdrawal" :> (Description "Obtain information about withdrawals of a specific transaction." :> (Capture "hash" TxHash :> ("withdrawals" :> Get '[JSON] [TransactionWithdrawal]))))))))) :*: ((S1 ('MetaSel ('Just "_txMirs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction MIRs" :> (Description "Obtain information about Move Instantaneous Rewards (MIRs) of a specific transaction." :> (Capture "hash" TxHash :> ("mirs" :> Get '[JSON] [TransactionMir])))))) :*: (S1 ('MetaSel ('Just "_txPoolUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction stake pool registration and update certificates" :> (Description "Obtain information about stake pool registration and update certificates of a specific transaction." :> (Capture "hash" TxHash :> ("pool_updates" :> Get '[JSON] [TransactionPoolUpdate])))))) :*: S1 ('MetaSel ('Just "_txPoolRetiring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction stake pool retirement certificates" :> (Description "Obtain information about stake pool retirements within a specific transaction." :> (Capture "hash" TxHash :> ("pool_retires" :> Get '[JSON] [TransactionPoolRetiring])))))))) :*: (S1 ('MetaSel ('Just "_txMetadataJSON") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction metadata" :> (Description "Obtain the transaction metadata." :> (Capture "hash" TxHash :> ("metadata" :> Get '[JSON] [TransactionMetaJSON])))))) :*: (S1 ('MetaSel ('Just "_txCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction in CBOR" :> (Description "Obtain the CBOR serialized transaction." :> (Capture "hash" TxHash :> ("cbor" :> Get '[JSON] TransactionCBOR)))))) :*: S1 ('MetaSel ('Just "_txMetadataCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction metadata in CBOR" :> (Description "Obtain the transaction metadata in CBOR." :> (Capture "hash" TxHash :> ("metadata" :> ("cbor" :> Get '[JSON] [TransactionMetaCBOR]))))))))))))

data NetworkAPI route #

Constructors

NetworkAPI 

Fields

Instances

Instances details
Generic (NetworkAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Network

Associated Types

type Rep (NetworkAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Network

type Rep (NetworkAPI route) = D1 ('MetaData "NetworkAPI" "Blockfrost.API.Cardano.Network" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "NetworkAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_networkInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Network information" :> (Description "Return detailed network information." :> Get '[JSON] Network)))) :*: S1 ('MetaSel ('Just "_networkEras") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Query summary of blockchain eras" :> (Description "Returns start and end of each era along with parameters that can vary between hard forks." :> ("eras" :> Get '[JSON] [NetworkEraSummary])))))))

Methods

from :: NetworkAPI route -> Rep (NetworkAPI route) x #

to :: Rep (NetworkAPI route) x -> NetworkAPI route #

type Rep (NetworkAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Network

type Rep (NetworkAPI route) = D1 ('MetaData "NetworkAPI" "Blockfrost.API.Cardano.Network" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "NetworkAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_networkInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Network information" :> (Description "Return detailed network information." :> Get '[JSON] Network)))) :*: S1 ('MetaSel ('Just "_networkEras") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Query summary of blockchain eras" :> (Description "Returns start and end of each era along with parameters that can vary between hard forks." :> ("eras" :> Get '[JSON] [NetworkEraSummary])))))))

data LedgerAPI route #

Constructors

LedgerAPI 

Fields

Instances

Instances details
Generic (LedgerAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Ledger

Associated Types

type Rep (LedgerAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Ledger

type Rep (LedgerAPI route) = D1 ('MetaData "LedgerAPI" "Blockfrost.API.Cardano.Ledger" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "LedgerAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_genesis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Blockchain genesis" :> (Description "Return the information about blockchain genesis." :> Get '[JSON] Genesis))))))

Methods

from :: LedgerAPI route -> Rep (LedgerAPI route) x #

to :: Rep (LedgerAPI route) x -> LedgerAPI route #

type Rep (LedgerAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Ledger

type Rep (LedgerAPI route) = D1 ('MetaData "LedgerAPI" "Blockfrost.API.Cardano.Ledger" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "LedgerAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_genesis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Blockchain genesis" :> (Description "Return the information about blockchain genesis." :> Get '[JSON] Genesis))))))

data UtilsAPI route #

Constructors

UtilsAPI 

Fields

Instances

Instances details
Generic (UtilsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Utils

Associated Types

type Rep (UtilsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Utils

type Rep (UtilsAPI route) = D1 ('MetaData "UtilsAPI" "Blockfrost.API.Cardano.Utils" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "UtilsAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_deriveAddr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Derive an address" :> (Description "Derive Shelley address from an xpub." :> ("addresses" :> ("xpub" :> (Capture "xpub" Text :> (Capture "role" Integer :> (Capture "index" Integer :> Get '[JSON] DerivedAddress))))))))) :*: (S1 ('MetaSel ('Just "_txEvaluate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Submit a transaction for execution units evaluation" :> (Description "Submit an already serialized transaction to evaluate how much execution units it requires." :> ("txs" :> ("evaluate" :> (ReqBody '[CBOR] CBORString :> Post '[JSON] TxEval))))))) :*: S1 ('MetaSel ('Just "_txEvaluateUTXOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Submit a transaction for execution units evaluation (additional UTXO set)" :> (Description "Submit a JSON payload with transaction CBOR and additional UTXO set to evaluate how much execution units it requires." :> ("txs" :> ("evaluate" :> ("utxos" :> (ReqBody '[JSON] TxEvalInput :> Post '[JSON] TxEval)))))))))))

Methods

from :: UtilsAPI route -> Rep (UtilsAPI route) x #

to :: Rep (UtilsAPI route) x -> UtilsAPI route #

type Rep (UtilsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Utils

type Rep (UtilsAPI route) = D1 ('MetaData "UtilsAPI" "Blockfrost.API.Cardano.Utils" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "UtilsAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_deriveAddr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Derive an address" :> (Description "Derive Shelley address from an xpub." :> ("addresses" :> ("xpub" :> (Capture "xpub" Text :> (Capture "role" Integer :> (Capture "index" Integer :> Get '[JSON] DerivedAddress))))))))) :*: (S1 ('MetaSel ('Just "_txEvaluate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Submit a transaction for execution units evaluation" :> (Description "Submit an already serialized transaction to evaluate how much execution units it requires." :> ("txs" :> ("evaluate" :> (ReqBody '[CBOR] CBORString :> Post '[JSON] TxEval))))))) :*: S1 ('MetaSel ('Just "_txEvaluateUTXOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Submit a transaction for execution units evaluation (additional UTXO set)" :> (Description "Submit a JSON payload with transaction CBOR and additional UTXO set to evaluate how much execution units it requires." :> ("txs" :> ("evaluate" :> ("utxos" :> (ReqBody '[JSON] TxEvalInput :> Post '[JSON] TxEval)))))))))))

data ScriptsAPI route #

Constructors

ScriptsAPI 

Fields

Instances

Instances details
Generic (ScriptsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Scripts

Associated Types

type Rep (ScriptsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Scripts

type Rep (ScriptsAPI route) = D1 ('MetaData "ScriptsAPI" "Blockfrost.API.Cardano.Scripts" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "ScriptsAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_listScripts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Scripts" :> (Description "List of scripts." :> (Pagination :> (Sorting :> Get '[JSON] ScriptHashList)))))) :*: (S1 ('MetaSel ('Just "_getScript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific scripts" :> (Description "Information about a specific script." :> (Capture "script_hash" ScriptHash :> Get '[JSON] Script))))) :*: S1 ('MetaSel ('Just "_getScriptRedeemers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Redeemers of a specific script" :> (Description "List of redeemers of a specific script." :> (Capture "script_hash" ScriptHash :> (Pagination :> (Sorting :> ("redeemers" :> Get '[JSON] [ScriptRedeemer])))))))))) :*: ((S1 ('MetaSel ('Just "_getScriptDatum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Datum value" :> (Description "Query JSON value of a datum by its hash" :> ("datum" :> (Capture "datum_hash" DatumHash :> Get '[JSON] ScriptDatum)))))) :*: S1 ('MetaSel ('Just "_getScriptDatumCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Datum CBOR value" :> (Description "Query CBOR serialised datum by its hash" :> ("datum" :> (Capture "datum_hash" DatumHash :> ("cbor" :> Get '[JSON] ScriptDatumCBOR)))))))) :*: (S1 ('MetaSel ('Just "_getScriptJSON") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Script JSON" :> (Description "JSON representation of a `timelock` script" :> (Capture "script_hash" ScriptHash :> ("json" :> Get '[JSON] ScriptJSON)))))) :*: S1 ('MetaSel ('Just "_getScriptCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Script CBOR" :> (Description "CBOR representation of a `plutus` script" :> (Capture "script_hash" ScriptHash :> ("cbor" :> Get '[JSON] ScriptCBOR))))))))))

Methods

from :: ScriptsAPI route -> Rep (ScriptsAPI route) x #

to :: Rep (ScriptsAPI route) x -> ScriptsAPI route #

type Rep (ScriptsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Scripts

type Rep (ScriptsAPI route) = D1 ('MetaData "ScriptsAPI" "Blockfrost.API.Cardano.Scripts" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "ScriptsAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_listScripts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Scripts" :> (Description "List of scripts." :> (Pagination :> (Sorting :> Get '[JSON] ScriptHashList)))))) :*: (S1 ('MetaSel ('Just "_getScript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific scripts" :> (Description "Information about a specific script." :> (Capture "script_hash" ScriptHash :> Get '[JSON] Script))))) :*: S1 ('MetaSel ('Just "_getScriptRedeemers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Redeemers of a specific script" :> (Description "List of redeemers of a specific script." :> (Capture "script_hash" ScriptHash :> (Pagination :> (Sorting :> ("redeemers" :> Get '[JSON] [ScriptRedeemer])))))))))) :*: ((S1 ('MetaSel ('Just "_getScriptDatum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Datum value" :> (Description "Query JSON value of a datum by its hash" :> ("datum" :> (Capture "datum_hash" DatumHash :> Get '[JSON] ScriptDatum)))))) :*: S1 ('MetaSel ('Just "_getScriptDatumCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Datum CBOR value" :> (Description "Query CBOR serialised datum by its hash" :> ("datum" :> (Capture "datum_hash" DatumHash :> ("cbor" :> Get '[JSON] ScriptDatumCBOR)))))))) :*: (S1 ('MetaSel ('Just "_getScriptJSON") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Script JSON" :> (Description "JSON representation of a `timelock` script" :> (Capture "script_hash" ScriptHash :> ("json" :> Get '[JSON] ScriptJSON)))))) :*: S1 ('MetaSel ('Just "_getScriptCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Script CBOR" :> (Description "CBOR representation of a `plutus` script" :> (Capture "script_hash" ScriptHash :> ("cbor" :> Get '[JSON] ScriptCBOR))))))))))

data PoolsAPI route #

Constructors

PoolsAPI 

Fields

Instances

Instances details
Generic (PoolsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Pools

Associated Types

type Rep (PoolsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Pools

type Rep (PoolsAPI route) = D1 ('MetaData "PoolsAPI" "Blockfrost.API.Cardano.Pools" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "PoolsAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_listPools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of stake pools" :> (Description "List of registered stake pools." :> (Pagination :> (Sorting :> Get '[JSON] [PoolId])))))) :*: S1 ('MetaSel ('Just "_listPoolsExtended") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of stake pools with additional information" :> (Description "List of registered stake pools with additional information." :> ("extended" :> (Pagination :> (Sorting :> Get '[JSON] [Pool])))))))) :*: (S1 ('MetaSel ('Just "_listRetiredPools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of retired stake pools" :> (Description "List of already retired stake pools." :> ("retired" :> (Pagination :> (Sorting :> Get '[JSON] [PoolEpoch]))))))) :*: (S1 ('MetaSel ('Just "_listRetiringPools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of retiring stake pools" :> (Description "List of stake pools retiring in the upcoming epochs" :> ("retiring" :> (Pagination :> (Sorting :> Get '[JSON] [PoolEpoch]))))))) :*: S1 ('MetaSel ('Just "_getPool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific stake pool" :> (Description "Pool information." :> (Capture "pool_id" PoolId :> Get '[JSON] PoolInfo)))))))) :*: ((S1 ('MetaSel ('Just "_getPoolHistory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool history" :> (Description "History of stake pool parameters over epochs." :> (Capture "pool_id" PoolId :> ("history" :> (Pagination :> (Sorting :> Get '[JSON] [PoolHistory])))))))) :*: (S1 ('MetaSel ('Just "_getPoolMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool metadata" :> (Description "Stake pool registration metadata." :> (Capture "pool_id" PoolId :> ("metadata" :> Get '[JSON] PoolMetadataResponse)))))) :*: S1 ('MetaSel ('Just "_getPoolRelays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool relays" :> (Description "Relays of a stake pool." :> (Capture "pool_id" PoolId :> ("relays" :> Get '[JSON] [PoolRelay])))))))) :*: (S1 ('MetaSel ('Just "_getPoolDelegators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool delegators" :> (Description "List of current stake pools delegators." :> (Capture "pool_id" PoolId :> ("delegators" :> (Pagination :> (Sorting :> Get '[JSON] [PoolDelegator])))))))) :*: (S1 ('MetaSel ('Just "_getPoolBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool blocks" :> (Description "List of stake pool blocks." :> (Capture "pool_id" PoolId :> ("blocks" :> (Pagination :> (Sorting :> Get '[JSON] [BlockHash])))))))) :*: S1 ('MetaSel ('Just "_getPoolUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool updates" :> (Description "List of certificate updates to the stake pool." :> (Capture "pool_id" PoolId :> ("updates" :> (Pagination :> (Sorting :> Get '[JSON] [PoolUpdate])))))))))))))

Methods

from :: PoolsAPI route -> Rep (PoolsAPI route) x #

to :: Rep (PoolsAPI route) x -> PoolsAPI route #

type Rep (PoolsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Pools

type Rep (PoolsAPI route) = D1 ('MetaData "PoolsAPI" "Blockfrost.API.Cardano.Pools" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "PoolsAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_listPools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of stake pools" :> (Description "List of registered stake pools." :> (Pagination :> (Sorting :> Get '[JSON] [PoolId])))))) :*: S1 ('MetaSel ('Just "_listPoolsExtended") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of stake pools with additional information" :> (Description "List of registered stake pools with additional information." :> ("extended" :> (Pagination :> (Sorting :> Get '[JSON] [Pool])))))))) :*: (S1 ('MetaSel ('Just "_listRetiredPools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of retired stake pools" :> (Description "List of already retired stake pools." :> ("retired" :> (Pagination :> (Sorting :> Get '[JSON] [PoolEpoch]))))))) :*: (S1 ('MetaSel ('Just "_listRetiringPools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of retiring stake pools" :> (Description "List of stake pools retiring in the upcoming epochs" :> ("retiring" :> (Pagination :> (Sorting :> Get '[JSON] [PoolEpoch]))))))) :*: S1 ('MetaSel ('Just "_getPool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific stake pool" :> (Description "Pool information." :> (Capture "pool_id" PoolId :> Get '[JSON] PoolInfo)))))))) :*: ((S1 ('MetaSel ('Just "_getPoolHistory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool history" :> (Description "History of stake pool parameters over epochs." :> (Capture "pool_id" PoolId :> ("history" :> (Pagination :> (Sorting :> Get '[JSON] [PoolHistory])))))))) :*: (S1 ('MetaSel ('Just "_getPoolMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool metadata" :> (Description "Stake pool registration metadata." :> (Capture "pool_id" PoolId :> ("metadata" :> Get '[JSON] PoolMetadataResponse)))))) :*: S1 ('MetaSel ('Just "_getPoolRelays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool relays" :> (Description "Relays of a stake pool." :> (Capture "pool_id" PoolId :> ("relays" :> Get '[JSON] [PoolRelay])))))))) :*: (S1 ('MetaSel ('Just "_getPoolDelegators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool delegators" :> (Description "List of current stake pools delegators." :> (Capture "pool_id" PoolId :> ("delegators" :> (Pagination :> (Sorting :> Get '[JSON] [PoolDelegator])))))))) :*: (S1 ('MetaSel ('Just "_getPoolBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool blocks" :> (Description "List of stake pool blocks." :> (Capture "pool_id" PoolId :> ("blocks" :> (Pagination :> (Sorting :> Get '[JSON] [BlockHash])))))))) :*: S1 ('MetaSel ('Just "_getPoolUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake pool updates" :> (Description "List of certificate updates to the stake pool." :> (Capture "pool_id" PoolId :> ("updates" :> (Pagination :> (Sorting :> Get '[JSON] [PoolUpdate])))))))))))))

data MetadataAPI route #

Constructors

MetadataAPI 

Fields

Instances

Instances details
Generic (MetadataAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Metadata

Associated Types

type Rep (MetadataAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Metadata

type Rep (MetadataAPI route) = D1 ('MetaData "MetadataAPI" "Blockfrost.API.Cardano.Metadata" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "MetadataAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txMetadataLabels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction metadata labels" :> (Description "List of all used transaction metadata labels." :> ("txs" :> ("labels" :> (Pagination :> (Sorting :> Get '[JSON] [TxMeta])))))))) :*: (S1 ('MetaSel ('Just "_txMetadataByLabelJSON") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction metadata content in JSON" :> (Description "Transaction metadata per label." :> ("txs" :> ("labels" :> (Capture "label" Text :> (Pagination :> (Sorting :> Get '[JSON] [TxMetaJSON]))))))))) :*: S1 ('MetaSel ('Just "_txMetadataByLabelCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction metadata content in CBOR" :> (Description "Transaction metadata per label." :> ("txs" :> ("labels" :> (Capture "label" Text :> ("cbor" :> (Pagination :> (Sorting :> Get '[JSON] [TxMetaCBOR])))))))))))))

Methods

from :: MetadataAPI route -> Rep (MetadataAPI route) x #

to :: Rep (MetadataAPI route) x -> MetadataAPI route #

type Rep (MetadataAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Metadata

type Rep (MetadataAPI route) = D1 ('MetaData "MetadataAPI" "Blockfrost.API.Cardano.Metadata" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "MetadataAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_txMetadataLabels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction metadata labels" :> (Description "List of all used transaction metadata labels." :> ("txs" :> ("labels" :> (Pagination :> (Sorting :> Get '[JSON] [TxMeta])))))))) :*: (S1 ('MetaSel ('Just "_txMetadataByLabelJSON") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction metadata content in JSON" :> (Description "Transaction metadata per label." :> ("txs" :> ("labels" :> (Capture "label" Text :> (Pagination :> (Sorting :> Get '[JSON] [TxMetaJSON]))))))))) :*: S1 ('MetaSel ('Just "_txMetadataByLabelCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction metadata content in CBOR" :> (Description "Transaction metadata per label." :> ("txs" :> ("labels" :> (Capture "label" Text :> ("cbor" :> (Pagination :> (Sorting :> Get '[JSON] [TxMetaCBOR])))))))))))))

data MempoolAPI route #

Constructors

MempoolAPI 

Fields

Instances

Instances details
Generic (MempoolAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Mempool

Associated Types

type Rep (MempoolAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Mempool

type Rep (MempoolAPI route) = D1 ('MetaData "MempoolAPI" "Blockfrost.API.Cardano.Mempool" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "MempoolAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_mempoolTransactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transactions in Mempool." :> (Description "Tx hash list of all transactions that are currently stored in the mempool." :> (Pagination :> (Sorting :> Get '[JSON] [TxHashObject])))))) :*: (S1 ('MetaSel ('Just "_specificTransaction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction in mempoool." :> (Description "Content of a specific transaction in the mempool." :> (Capture "hash" TxHash :> Get '[JSON] MempoolTransaction))))) :*: S1 ('MetaSel ('Just "_specificAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transactions involving an address in mempool." :> (Description "List of transactions in the mempool that involves a specific address." :> ("addresses" :> (Capture "address" Address :> (Pagination :> (Sorting :> Get '[JSON] [TxHashObject])))))))))))

Methods

from :: MempoolAPI route -> Rep (MempoolAPI route) x #

to :: Rep (MempoolAPI route) x -> MempoolAPI route #

type Rep (MempoolAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Mempool

type Rep (MempoolAPI route) = D1 ('MetaData "MempoolAPI" "Blockfrost.API.Cardano.Mempool" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "MempoolAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_mempoolTransactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transactions in Mempool." :> (Description "Tx hash list of all transactions that are currently stored in the mempool." :> (Pagination :> (Sorting :> Get '[JSON] [TxHashObject])))))) :*: (S1 ('MetaSel ('Just "_specificTransaction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transaction in mempoool." :> (Description "Content of a specific transaction in the mempool." :> (Capture "hash" TxHash :> Get '[JSON] MempoolTransaction))))) :*: S1 ('MetaSel ('Just "_specificAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Transactions involving an address in mempool." :> (Description "List of transactions in the mempool that involves a specific address." :> ("addresses" :> (Capture "address" Address :> (Pagination :> (Sorting :> Get '[JSON] [TxHashObject])))))))))))

data GovernanceAPI route #

Constructors

GovernanceAPI 

Fields

Instances

Instances details
Generic (GovernanceAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Governance

Associated Types

type Rep (GovernanceAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Governance

type Rep (GovernanceAPI route) = D1 ('MetaData "GovernanceAPI" "Blockfrost.API.Cardano.Governance" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "GovernanceAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_dreps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Delegate Representatives (DReps)" :> (Description "Return the information about Delegate Representatives (DReps)." :> ("dreps" :> (Pagination :> (Sorting :> Get '[JSON] [DRep]))))))) :*: (S1 ('MetaSel ('Just "_drep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific DRep" :> (Description "DRep information." :> ("dreps" :> (Capture "drep_id" DRepId :> Get '[JSON] DRepInfo)))))) :*: S1 ('MetaSel ('Just "_drepDelegators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "DRep delegators" :> (Description "List of Drep delegators." :> ("dreps" :> (Capture "drep_id" DRepId :> ("delegators" :> (Pagination :> (Sorting :> Get '[JSON] [DRepDelegator]))))))))))) :*: (S1 ('MetaSel ('Just "_drepMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "DRep metadata" :> (Description "DRep metadata information." :> ("dreps" :> (Capture "drep_id" DRepId :> ("metadata" :> Get '[JSON] DRepMeta))))))) :*: (S1 ('MetaSel ('Just "_drepUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "DRep updates" :> (Description "List of certificate updates to the DRep." :> ("dreps" :> (Capture "drep_id" DRepId :> ("updates" :> (Pagination :> (Sorting :> Get '[JSON] [DRepUpdate]))))))))) :*: S1 ('MetaSel ('Just "_drepVotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "DRep votes" :> (Description "History of DReps votes." :> ("dreps" :> (Capture "drep_id" DRepId :> ("votes" :> (Pagination :> (Sorting :> Get '[JSON] [DRepVote])))))))))))) :*: ((S1 ('MetaSel ('Just "_proposals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Proposals" :> (Description "List of proposals." :> ("proposals" :> (Pagination :> (Sorting :> Get '[JSON] [Proposal]))))))) :*: (S1 ('MetaSel ('Just "_proposal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific proposal" :> (Description "Proposal details." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> Get '[JSON] ProposalInfo))))))) :*: S1 ('MetaSel ('Just "_paramProposal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific parameters proposal" :> (Description "Parameter proposal details." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("parameters" :> Get '[JSON] ParamProposal)))))))))) :*: (S1 ('MetaSel ('Just "_withdrawalProposal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific withdrawals proposal" :> (Description "Withdrawals proposal details." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("withdrawals" :> Get '[JSON] [WithdrawalProposal])))))))) :*: (S1 ('MetaSel ('Just "_proposalVotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Proposal votes" :> (Description "History of proposal votes." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("votes" :> (Pagination :> (Sorting :> Get '[JSON] [ProposalVote])))))))))) :*: S1 ('MetaSel ('Just "_proposalMeta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific proposal metadata" :> (Description "Proposal metadata information." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("metadata" :> Get '[JSON] ProposalMeta)))))))))))))

Methods

from :: GovernanceAPI route -> Rep (GovernanceAPI route) x #

to :: Rep (GovernanceAPI route) x -> GovernanceAPI route #

type Rep (GovernanceAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Governance

type Rep (GovernanceAPI route) = D1 ('MetaData "GovernanceAPI" "Blockfrost.API.Cardano.Governance" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "GovernanceAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_dreps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Delegate Representatives (DReps)" :> (Description "Return the information about Delegate Representatives (DReps)." :> ("dreps" :> (Pagination :> (Sorting :> Get '[JSON] [DRep]))))))) :*: (S1 ('MetaSel ('Just "_drep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific DRep" :> (Description "DRep information." :> ("dreps" :> (Capture "drep_id" DRepId :> Get '[JSON] DRepInfo)))))) :*: S1 ('MetaSel ('Just "_drepDelegators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "DRep delegators" :> (Description "List of Drep delegators." :> ("dreps" :> (Capture "drep_id" DRepId :> ("delegators" :> (Pagination :> (Sorting :> Get '[JSON] [DRepDelegator]))))))))))) :*: (S1 ('MetaSel ('Just "_drepMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "DRep metadata" :> (Description "DRep metadata information." :> ("dreps" :> (Capture "drep_id" DRepId :> ("metadata" :> Get '[JSON] DRepMeta))))))) :*: (S1 ('MetaSel ('Just "_drepUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "DRep updates" :> (Description "List of certificate updates to the DRep." :> ("dreps" :> (Capture "drep_id" DRepId :> ("updates" :> (Pagination :> (Sorting :> Get '[JSON] [DRepUpdate]))))))))) :*: S1 ('MetaSel ('Just "_drepVotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "DRep votes" :> (Description "History of DReps votes." :> ("dreps" :> (Capture "drep_id" DRepId :> ("votes" :> (Pagination :> (Sorting :> Get '[JSON] [DRepVote])))))))))))) :*: ((S1 ('MetaSel ('Just "_proposals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Proposals" :> (Description "List of proposals." :> ("proposals" :> (Pagination :> (Sorting :> Get '[JSON] [Proposal]))))))) :*: (S1 ('MetaSel ('Just "_proposal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific proposal" :> (Description "Proposal details." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> Get '[JSON] ProposalInfo))))))) :*: S1 ('MetaSel ('Just "_paramProposal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific parameters proposal" :> (Description "Parameter proposal details." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("parameters" :> Get '[JSON] ParamProposal)))))))))) :*: (S1 ('MetaSel ('Just "_withdrawalProposal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific withdrawals proposal" :> (Description "Withdrawals proposal details." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("withdrawals" :> Get '[JSON] [WithdrawalProposal])))))))) :*: (S1 ('MetaSel ('Just "_proposalVotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Proposal votes" :> (Description "History of proposal votes." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("votes" :> (Pagination :> (Sorting :> Get '[JSON] [ProposalVote])))))))))) :*: S1 ('MetaSel ('Just "_proposalMeta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific proposal metadata" :> (Description "Proposal metadata information." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("metadata" :> Get '[JSON] ProposalMeta)))))))))))))

data EpochsAPI route #

Constructors

EpochsAPI 

Fields

Instances

Instances details
Generic (EpochsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Epochs

Associated Types

type Rep (EpochsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Epochs

type Rep (EpochsAPI route) = D1 ('MetaData "EpochsAPI" "Blockfrost.API.Cardano.Epochs" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "EpochsAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_latestEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest epoch" :> (Description "Return the information about the latest, therefore current, epoch." :> ("latest" :> Get '[JSON] EpochInfo))))) :*: S1 ('MetaSel ('Just "_latestEpochProtocolParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest epoch protocol parameters" :> (Description "Return the protocol parameters for the latest epoch." :> ("latest" :> ("parameters" :> Get '[JSON] ProtocolParams))))))) :*: (S1 ('MetaSel ('Just "_getEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific epoch" :> (Description "Return the content of the requested epoch." :> (Capture "epoch_number" Epoch :> Get '[JSON] EpochInfo))))) :*: (S1 ('MetaSel ('Just "_getNextEpochs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of next epochs" :> (Description "Return the list of epochs following a specific epoch." :> (Capture "epoch_number" Epoch :> ("next" :> (Pagination :> Get '[JSON] [EpochInfo]))))))) :*: S1 ('MetaSel ('Just "_getPreviousEpochs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of previous epochs" :> (Description "Return the list of epochs preceding a specific epoch." :> (Capture "epoch_number" Epoch :> ("previous" :> (Pagination :> Get '[JSON] [EpochInfo])))))))))) :*: ((S1 ('MetaSel ('Just "_getEpochStake") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake distribution" :> (Description "Return the active stake distribution for the specified epoch." :> (Capture "epoch_number" Epoch :> ("stakes" :> (Pagination :> Get '[JSON] [StakeDistribution]))))))) :*: S1 ('MetaSel ('Just "_getEpochStakeByPool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake distribution by pool" :> (Description "Return the active stake distribution for the epoch specified by stake pool." :> (Capture "epoch_number" Epoch :> ("stakes" :> (Capture "pool_id" PoolId :> (Pagination :> Get '[JSON] [PoolStakeDistribution]))))))))) :*: (S1 ('MetaSel ('Just "_getEpochBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Block distribution" :> (Description "Return the blocks minted for the epoch specified." :> (Capture "epoch_number" Epoch :> ("blocks" :> (Pagination :> (Sorting :> Get '[JSON] [BlockHash])))))))) :*: (S1 ('MetaSel ('Just "_getEpochBlocksByPool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Block distribution by pool" :> (Description "Return the block minted for the epoch specified by stake pool." :> (Capture "epoch_number" Epoch :> ("blocks" :> (Capture "pool_id" PoolId :> (Pagination :> (Sorting :> Get '[JSON] [BlockHash]))))))))) :*: S1 ('MetaSel ('Just "_getEpochProtocolParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Protocol parameters" :> (Description "Return the protocol parameters for the specified epoch." :> (Capture "epoch_number" Epoch :> ("parameters" :> Get '[JSON] ProtocolParams)))))))))))

Methods

from :: EpochsAPI route -> Rep (EpochsAPI route) x #

to :: Rep (EpochsAPI route) x -> EpochsAPI route #

type Rep (EpochsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Epochs

type Rep (EpochsAPI route) = D1 ('MetaData "EpochsAPI" "Blockfrost.API.Cardano.Epochs" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "EpochsAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_latestEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest epoch" :> (Description "Return the information about the latest, therefore current, epoch." :> ("latest" :> Get '[JSON] EpochInfo))))) :*: S1 ('MetaSel ('Just "_latestEpochProtocolParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest epoch protocol parameters" :> (Description "Return the protocol parameters for the latest epoch." :> ("latest" :> ("parameters" :> Get '[JSON] ProtocolParams))))))) :*: (S1 ('MetaSel ('Just "_getEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific epoch" :> (Description "Return the content of the requested epoch." :> (Capture "epoch_number" Epoch :> Get '[JSON] EpochInfo))))) :*: (S1 ('MetaSel ('Just "_getNextEpochs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of next epochs" :> (Description "Return the list of epochs following a specific epoch." :> (Capture "epoch_number" Epoch :> ("next" :> (Pagination :> Get '[JSON] [EpochInfo]))))))) :*: S1 ('MetaSel ('Just "_getPreviousEpochs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List of previous epochs" :> (Description "Return the list of epochs preceding a specific epoch." :> (Capture "epoch_number" Epoch :> ("previous" :> (Pagination :> Get '[JSON] [EpochInfo])))))))))) :*: ((S1 ('MetaSel ('Just "_getEpochStake") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake distribution" :> (Description "Return the active stake distribution for the specified epoch." :> (Capture "epoch_number" Epoch :> ("stakes" :> (Pagination :> Get '[JSON] [StakeDistribution]))))))) :*: S1 ('MetaSel ('Just "_getEpochStakeByPool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Stake distribution by pool" :> (Description "Return the active stake distribution for the epoch specified by stake pool." :> (Capture "epoch_number" Epoch :> ("stakes" :> (Capture "pool_id" PoolId :> (Pagination :> Get '[JSON] [PoolStakeDistribution]))))))))) :*: (S1 ('MetaSel ('Just "_getEpochBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Block distribution" :> (Description "Return the blocks minted for the epoch specified." :> (Capture "epoch_number" Epoch :> ("blocks" :> (Pagination :> (Sorting :> Get '[JSON] [BlockHash])))))))) :*: (S1 ('MetaSel ('Just "_getEpochBlocksByPool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Block distribution by pool" :> (Description "Return the block minted for the epoch specified by stake pool." :> (Capture "epoch_number" Epoch :> ("blocks" :> (Capture "pool_id" PoolId :> (Pagination :> (Sorting :> Get '[JSON] [BlockHash]))))))))) :*: S1 ('MetaSel ('Just "_getEpochProtocolParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Protocol parameters" :> (Description "Return the protocol parameters for the specified epoch." :> (Capture "epoch_number" Epoch :> ("parameters" :> Get '[JSON] ProtocolParams)))))))))))

data BlocksAPI route #

Constructors

BlocksAPI 

Fields

Instances

Instances details
Generic (BlocksAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Blocks

Associated Types

type Rep (BlocksAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Blocks

type Rep (BlocksAPI route) = D1 ('MetaData "BlocksAPI" "Blockfrost.API.Cardano.Blocks" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "BlocksAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_latest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest block" :> (Description "Return the latest block available to the backends, also known as the tip of the blockchain." :> ("latest" :> Get '[JSON] Block))))) :*: S1 ('MetaSel ('Just "_latestTxs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest block transactions" :> (Description "Return the transactions within the latest block." :> ("latest" :> ("txs" :> (Pagination :> (Sorting :> Get '[JSON] [TxHash]))))))))) :*: (S1 ('MetaSel ('Just "_latestTxsCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest transactions with CBOR data" :> (Description "Return the transactions within the latest block, including CBOR representations." :> ("latest" :> ("txs" :> ("cbor" :> (Pagination :> (Sorting :> Get '[JSON] [TxHashCBOR]))))))))) :*: (S1 ('MetaSel ('Just "_block") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest block transactions" :> (Description "Return the transactions within the latest block." :> (Capture "hash_or_number" (Either Integer BlockHash) :> Get '[JSON] Block))))) :*: S1 ('MetaSel ('Just "__blockSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific block in a slot" :> (Description "Return the content of a requested block for a specific slot." :> ("slot" :> (Capture "slot_number" Slot :> Get '[JSON] Block))))))))) :*: ((S1 ('MetaSel ('Just "__blockEpochSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific block in a slot in an epoch" :> (Description "Return the content of a requested block for a specific slot in an epoch." :> ("epoch" :> (Capture "epoch_number" Epoch :> ("slot" :> (Capture "slot_number" Slot :> Get '[JSON] Block)))))))) :*: (S1 ('MetaSel ('Just "_blockNext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Listing of next blocks" :> (Description "Return the list of blocks following a specific block." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("next" :> (Pagination :> Get '[JSON] [Block]))))))) :*: S1 ('MetaSel ('Just "_blockPrevious") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Listing of preious blocks" :> (Description "Return the list of blocks preceeding a specific block." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("previous" :> (Pagination :> Get '[JSON] [Block]))))))))) :*: (S1 ('MetaSel ('Just "_blockTxs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Block transactions" :> (Description "Return the transactions within the block." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("txs" :> (Pagination :> (Sorting :> Get '[JSON] [TxHash])))))))) :*: (S1 ('MetaSel ('Just "_blockTxsCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Block transactions with CBOR data" :> (Description "Return the transactions within the block, including CBOR representations." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("txs" :> ("cbor" :> (Pagination :> (Sorting :> Get '[JSON] [TxHashCBOR]))))))))) :*: S1 ('MetaSel ('Just "_blockAffectedAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Addresses affected in a specific block" :> (Description "Return list of addresses affected in the specified block with additional information, sorted by the bech32 address, ascending." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("addresses" :> (Pagination :> Get '[JSON] [(Address, [TxHash])]))))))))))))

Methods

from :: BlocksAPI route -> Rep (BlocksAPI route) x #

to :: Rep (BlocksAPI route) x -> BlocksAPI route #

type Rep (BlocksAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Blocks

type Rep (BlocksAPI route) = D1 ('MetaData "BlocksAPI" "Blockfrost.API.Cardano.Blocks" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "BlocksAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_latest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest block" :> (Description "Return the latest block available to the backends, also known as the tip of the blockchain." :> ("latest" :> Get '[JSON] Block))))) :*: S1 ('MetaSel ('Just "_latestTxs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest block transactions" :> (Description "Return the transactions within the latest block." :> ("latest" :> ("txs" :> (Pagination :> (Sorting :> Get '[JSON] [TxHash]))))))))) :*: (S1 ('MetaSel ('Just "_latestTxsCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest transactions with CBOR data" :> (Description "Return the transactions within the latest block, including CBOR representations." :> ("latest" :> ("txs" :> ("cbor" :> (Pagination :> (Sorting :> Get '[JSON] [TxHashCBOR]))))))))) :*: (S1 ('MetaSel ('Just "_block") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Latest block transactions" :> (Description "Return the transactions within the latest block." :> (Capture "hash_or_number" (Either Integer BlockHash) :> Get '[JSON] Block))))) :*: S1 ('MetaSel ('Just "__blockSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific block in a slot" :> (Description "Return the content of a requested block for a specific slot." :> ("slot" :> (Capture "slot_number" Slot :> Get '[JSON] Block))))))))) :*: ((S1 ('MetaSel ('Just "__blockEpochSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific block in a slot in an epoch" :> (Description "Return the content of a requested block for a specific slot in an epoch." :> ("epoch" :> (Capture "epoch_number" Epoch :> ("slot" :> (Capture "slot_number" Slot :> Get '[JSON] Block)))))))) :*: (S1 ('MetaSel ('Just "_blockNext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Listing of next blocks" :> (Description "Return the list of blocks following a specific block." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("next" :> (Pagination :> Get '[JSON] [Block]))))))) :*: S1 ('MetaSel ('Just "_blockPrevious") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Listing of preious blocks" :> (Description "Return the list of blocks preceeding a specific block." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("previous" :> (Pagination :> Get '[JSON] [Block]))))))))) :*: (S1 ('MetaSel ('Just "_blockTxs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Block transactions" :> (Description "Return the transactions within the block." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("txs" :> (Pagination :> (Sorting :> Get '[JSON] [TxHash])))))))) :*: (S1 ('MetaSel ('Just "_blockTxsCBOR") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Block transactions with CBOR data" :> (Description "Return the transactions within the block, including CBOR representations." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("txs" :> ("cbor" :> (Pagination :> (Sorting :> Get '[JSON] [TxHashCBOR]))))))))) :*: S1 ('MetaSel ('Just "_blockAffectedAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Addresses affected in a specific block" :> (Description "Return list of addresses affected in the specified block with additional information, sorted by the bech32 address, ascending." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("addresses" :> (Pagination :> Get '[JSON] [(Address, [TxHash])]))))))))))))

data AssetsAPI route #

Constructors

AssetsAPI 

Fields

Instances

Instances details
Generic (AssetsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Assets

Associated Types

type Rep (AssetsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Assets

type Rep (AssetsAPI route) = D1 ('MetaData "AssetsAPI" "Blockfrost.API.Cardano.Assets" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "AssetsAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_listAssets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Assets" :> (Description "List of assets." :> (Pagination :> (Sorting :> Get '[JSON] [AssetInfo])))))) :*: (S1 ('MetaSel ('Just "_assetDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific asset" :> (Description "Information about a specific asset." :> (Capture "asset" AssetId :> Get '[JSON] AssetDetails))))) :*: S1 ('MetaSel ('Just "_assetHistory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Asset history" :> (Description "History of a specific asset." :> (Capture "asset" AssetId :> ("history" :> (Pagination :> (Sorting :> Get '[JSON] [AssetHistory])))))))))) :*: (S1 ('MetaSel ('Just "_assetTransactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Asset transactions" :> (Description "List of a specific asset transactions" :> (Capture "asset" AssetId :> ("transactions" :> (Pagination :> (Sorting :> Get '[JSON] [AssetTransaction])))))))) :*: (S1 ('MetaSel ('Just "_assetAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Asset addresses" :> (Description "List of a addresses containing a specific asset" :> (Capture "asset" AssetId :> ("addresses" :> (Pagination :> (Sorting :> Get '[JSON] [AssetAddress])))))))) :*: S1 ('MetaSel ('Just "_listAssetsPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Assets of a specific policy" :> (Description "List of asset minted under a specific policy." :> ("policy" :> (Capture "policy_id" PolicyId :> (Pagination :> (Sorting :> Get '[JSON] [AssetInfo]))))))))))))

Methods

from :: AssetsAPI route -> Rep (AssetsAPI route) x #

to :: Rep (AssetsAPI route) x -> AssetsAPI route #

type Rep (AssetsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Assets

type Rep (AssetsAPI route) = D1 ('MetaData "AssetsAPI" "Blockfrost.API.Cardano.Assets" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "AssetsAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_listAssets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Assets" :> (Description "List of assets." :> (Pagination :> (Sorting :> Get '[JSON] [AssetInfo])))))) :*: (S1 ('MetaSel ('Just "_assetDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific asset" :> (Description "Information about a specific asset." :> (Capture "asset" AssetId :> Get '[JSON] AssetDetails))))) :*: S1 ('MetaSel ('Just "_assetHistory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Asset history" :> (Description "History of a specific asset." :> (Capture "asset" AssetId :> ("history" :> (Pagination :> (Sorting :> Get '[JSON] [AssetHistory])))))))))) :*: (S1 ('MetaSel ('Just "_assetTransactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Asset transactions" :> (Description "List of a specific asset transactions" :> (Capture "asset" AssetId :> ("transactions" :> (Pagination :> (Sorting :> Get '[JSON] [AssetTransaction])))))))) :*: (S1 ('MetaSel ('Just "_assetAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Asset addresses" :> (Description "List of a addresses containing a specific asset" :> (Capture "asset" AssetId :> ("addresses" :> (Pagination :> (Sorting :> Get '[JSON] [AssetAddress])))))))) :*: S1 ('MetaSel ('Just "_listAssetsPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Assets of a specific policy" :> (Description "List of asset minted under a specific policy." :> ("policy" :> (Capture "policy_id" PolicyId :> (Pagination :> (Sorting :> Get '[JSON] [AssetInfo]))))))))))))

data AddressesAPI route #

Constructors

AddressesAPI 

Fields

Instances

Instances details
Generic (AddressesAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Addresses

Associated Types

type Rep (AddressesAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Addresses

type Rep (AddressesAPI route) = D1 ('MetaData "AddressesAPI" "Blockfrost.API.Cardano.Addresses" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "AddressesAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_addressInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific address" :> (Description "Obtain information about a specific address." :> (Capture "address" Address :> Get '[JSON] AddressInfo))))) :*: (S1 ('MetaSel ('Just "_addressInfoExtended") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific address - extended" :> (Description "Obtain extended information about a specific address." :> (Capture "address" Address :> ("extended" :> Get '[JSON] AddressInfoExtended)))))) :*: S1 ('MetaSel ('Just "_addressDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Address details" :> (Description "Obtain details about an address." :> (Capture "address" Address :> ("total" :> Get '[JSON] AddressDetails)))))))) :*: (S1 ('MetaSel ('Just "_addressUtxos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Address UTXOs" :> (Description "UTXOs of the address." :> (Capture "address" Address :> ("utxos" :> (Pagination :> (Sorting :> Get '[JSON] [AddressUtxo])))))))) :*: (S1 ('MetaSel ('Just "_addressUtxosAsset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Address UTXOs of a given asset" :> (Description "UTXOs of the address." :> (Capture "address" Address :> ("utxos" :> (Capture "asset" AssetId :> (Pagination :> (Sorting :> Get '[JSON] [AddressUtxo]))))))))) :*: S1 ('MetaSel ('Just "_addressTransactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Address transactions" :> (Description "Transactions on the address." :> (Capture "address" Address :> ("transactions" :> (Pagination :> (Sorting :> (QueryParam "from" BlockIndex :> (QueryParam "to" BlockIndex :> Get '[JSON] [AddressTransaction]))))))))))))))

Methods

from :: AddressesAPI route -> Rep (AddressesAPI route) x #

to :: Rep (AddressesAPI route) x -> AddressesAPI route #

type Rep (AddressesAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Addresses

type Rep (AddressesAPI route) = D1 ('MetaData "AddressesAPI" "Blockfrost.API.Cardano.Addresses" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "AddressesAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_addressInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific address" :> (Description "Obtain information about a specific address." :> (Capture "address" Address :> Get '[JSON] AddressInfo))))) :*: (S1 ('MetaSel ('Just "_addressInfoExtended") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific address - extended" :> (Description "Obtain extended information about a specific address." :> (Capture "address" Address :> ("extended" :> Get '[JSON] AddressInfoExtended)))))) :*: S1 ('MetaSel ('Just "_addressDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Address details" :> (Description "Obtain details about an address." :> (Capture "address" Address :> ("total" :> Get '[JSON] AddressDetails)))))))) :*: (S1 ('MetaSel ('Just "_addressUtxos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Address UTXOs" :> (Description "UTXOs of the address." :> (Capture "address" Address :> ("utxos" :> (Pagination :> (Sorting :> Get '[JSON] [AddressUtxo])))))))) :*: (S1 ('MetaSel ('Just "_addressUtxosAsset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Address UTXOs of a given asset" :> (Description "UTXOs of the address." :> (Capture "address" Address :> ("utxos" :> (Capture "asset" AssetId :> (Pagination :> (Sorting :> Get '[JSON] [AddressUtxo]))))))))) :*: S1 ('MetaSel ('Just "_addressTransactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Address transactions" :> (Description "Transactions on the address." :> (Capture "address" Address :> ("transactions" :> (Pagination :> (Sorting :> (QueryParam "from" BlockIndex :> (QueryParam "to" BlockIndex :> Get '[JSON] [AddressTransaction]))))))))))))))

data AccountsAPI route #

Constructors

AccountsAPI 

Fields

Instances

Instances details
Generic (AccountsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Accounts

Associated Types

type Rep (AccountsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Accounts

type Rep (AccountsAPI route) = D1 ('MetaData "AccountsAPI" "Blockfrost.API.Cardano.Accounts" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "AccountsAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_account") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific account address" :> (Description "Obtain information about a specific stake account." :> (Capture "stake_address" Address :> Get '[JSON] AccountInfo))))) :*: S1 ('MetaSel ('Just "_accountRewards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific reward history" :> (Description "Obtain information about the reward history of a specific account." :> (Capture "stake_address" Address :> ("rewards" :> (Pagination :> (Sorting :> Get '[JSON] [AccountReward]))))))))) :*: (S1 ('MetaSel ('Just "_accountHistory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account history" :> (Description "Obtain information about the history of a specific account." :> (Capture "stake_address" Address :> ("history" :> (Pagination :> (Sorting :> Get '[JSON] [AccountHistory])))))))) :*: (S1 ('MetaSel ('Just "_accountDelegations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account delegation history" :> (Description "Obtain information about the delegation of a specific account." :> (Capture "stake_address" Address :> ("delegations" :> (Pagination :> (Sorting :> Get '[JSON] [AccountDelegation])))))))) :*: S1 ('MetaSel ('Just "_accountRegistrations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account registration history" :> (Description "Obtain information about the registrations and deregistrations of a specific account." :> (Capture "stake_address" Address :> ("registrations" :> (Pagination :> (Sorting :> Get '[JSON] [AccountRegistration]))))))))))) :*: ((S1 ('MetaSel ('Just "_accountWithdrawals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account withdrawal history" :> (Description "Obtain information about the withdrawals of a specific account." :> (Capture "stake_address" Address :> ("withdrawals" :> (Pagination :> (Sorting :> Get '[JSON] [AccountWithdrawal])))))))) :*: S1 ('MetaSel ('Just "_accountMirs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account MIR history" :> (Description "Obtain information about the MIRs of a specific account." :> (Capture "stake_address" Address :> ("mirs" :> (Pagination :> (Sorting :> Get '[JSON] [AccountMir]))))))))) :*: (S1 ('MetaSel ('Just "_accountAssociatedAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account associated addresses" :> (Description "Obtain information about the addresses of a specific account." :> (Capture "stake_address" Address :> ("addresses" :> (Pagination :> (Sorting :> Get '[JSON] [AddressAssociated])))))))) :*: (S1 ('MetaSel ('Just "_accountAssociatedAssets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Assets associated with the account addresses" :> (Description "Obtain information about assets associated with addresses of a specific account." :> (Capture "stake_address" Address :> ("addresses" :> ("assets" :> (Pagination :> (Sorting :> Get '[JSON] [Amount]))))))))) :*: S1 ('MetaSel ('Just "_accountAssociatedTotal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Detailed information about account associated addresses" :> (Description "Obtain summed details about all addresses associated with a given account. Be careful, as an account could be part of a mangled address and does not necessarily mean the addresses are owned by user as the account." :> (Capture "stake_address" Address :> ("addresses" :> ("total" :> Get '[JSON] AddressAssociatedTotal))))))))))))

Methods

from :: AccountsAPI route -> Rep (AccountsAPI route) x #

to :: Rep (AccountsAPI route) x -> AccountsAPI route #

type Rep (AccountsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Accounts

type Rep (AccountsAPI route) = D1 ('MetaData "AccountsAPI" "Blockfrost.API.Cardano.Accounts" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "AccountsAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_account") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific account address" :> (Description "Obtain information about a specific stake account." :> (Capture "stake_address" Address :> Get '[JSON] AccountInfo))))) :*: S1 ('MetaSel ('Just "_accountRewards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Specific reward history" :> (Description "Obtain information about the reward history of a specific account." :> (Capture "stake_address" Address :> ("rewards" :> (Pagination :> (Sorting :> Get '[JSON] [AccountReward]))))))))) :*: (S1 ('MetaSel ('Just "_accountHistory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account history" :> (Description "Obtain information about the history of a specific account." :> (Capture "stake_address" Address :> ("history" :> (Pagination :> (Sorting :> Get '[JSON] [AccountHistory])))))))) :*: (S1 ('MetaSel ('Just "_accountDelegations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account delegation history" :> (Description "Obtain information about the delegation of a specific account." :> (Capture "stake_address" Address :> ("delegations" :> (Pagination :> (Sorting :> Get '[JSON] [AccountDelegation])))))))) :*: S1 ('MetaSel ('Just "_accountRegistrations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account registration history" :> (Description "Obtain information about the registrations and deregistrations of a specific account." :> (Capture "stake_address" Address :> ("registrations" :> (Pagination :> (Sorting :> Get '[JSON] [AccountRegistration]))))))))))) :*: ((S1 ('MetaSel ('Just "_accountWithdrawals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account withdrawal history" :> (Description "Obtain information about the withdrawals of a specific account." :> (Capture "stake_address" Address :> ("withdrawals" :> (Pagination :> (Sorting :> Get '[JSON] [AccountWithdrawal])))))))) :*: S1 ('MetaSel ('Just "_accountMirs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account MIR history" :> (Description "Obtain information about the MIRs of a specific account." :> (Capture "stake_address" Address :> ("mirs" :> (Pagination :> (Sorting :> Get '[JSON] [AccountMir]))))))))) :*: (S1 ('MetaSel ('Just "_accountAssociatedAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Account associated addresses" :> (Description "Obtain information about the addresses of a specific account." :> (Capture "stake_address" Address :> ("addresses" :> (Pagination :> (Sorting :> Get '[JSON] [AddressAssociated])))))))) :*: (S1 ('MetaSel ('Just "_accountAssociatedAssets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Assets associated with the account addresses" :> (Description "Obtain information about assets associated with addresses of a specific account." :> (Capture "stake_address" Address :> ("addresses" :> ("assets" :> (Pagination :> (Sorting :> Get '[JSON] [Amount]))))))))) :*: S1 ('MetaSel ('Just "_accountAssociatedTotal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Detailed information about account associated addresses" :> (Description "Obtain summed details about all addresses associated with a given account. Be careful, as an account could be part of a mangled address and does not necessarily mean the addresses are owned by user as the account." :> (Capture "stake_address" Address :> ("addresses" :> ("total" :> Get '[JSON] AddressAssociatedTotal))))))))))))

data Form #

Constructors

Form 

data IPFSAPI route #

Constructors

IPFSAPI 

Fields

Instances

Instances details
Generic (IPFSAPI route) 
Instance details

Defined in Blockfrost.API.IPFS

Associated Types

type Rep (IPFSAPI route) 
Instance details

Defined in Blockfrost.API.IPFS

type Rep (IPFSAPI route) = D1 ('MetaData "IPFSAPI" "Blockfrost.API.IPFS" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "IPFSAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_add") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Add a file or directory to IPFS" :> (Description "You need to `/ipfs/pin/add` an object to avoid it being garbage collected. This usage is being counted in your user account quota." :> (Tag "IPFS \187 Add" :> ("add" :> (MultipartForm Tmp Form :> Post '[JSON] IPFSAdd))))))) :*: (S1 ('MetaSel ('Just "_gateway") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Relay to an IPFS gateway" :> (Description "Retrieve an object from the IFPS gateway. (Useful if you do not want to rely on a public gateway, such as ``ipfs.blockfrost.dev`)." :> (Tag "IPFS \187 Gateway" :> ("gateway" :> (Capture "IPFS_path" Text :> Get '[PlainText, OctetStream] IPFSData))))))) :*: S1 ('MetaSel ('Just "_pin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Pin an object" :> (Description "Pinned objects are counted in your user storage quota." :> (Tag "IPFS \187 Pins" :> ("pin" :> ("add" :> (Capture "IPFS_path" Text :> Post '[JSON] IPFSPinChange)))))))))) :*: (S1 ('MetaSel ('Just "_listPins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List pinned objects" :> (Description "List objects pinned to local storage." :> (Tag "IPFS \187 Pins" :> ("pin" :> ("list" :> (Pagination :> (Sorting :> Get '[JSON] [IPFSPin]))))))))) :*: (S1 ('MetaSel ('Just "_getPin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Get pinned object details" :> (Description "Obtain inormation about specific pinned object." :> (Tag "IPFS \187 Pins" :> ("pin" :> ("list" :> (Capture "IPFS_path" Text :> Get '[JSON] IPFSPin)))))))) :*: S1 ('MetaSel ('Just "_removePin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Remove pinned object from local storage" :> (Description "Remove pinned object from local storage" :> (Tag "IPFS \187 Pins" :> ("pin" :> ("remove" :> (Capture "IPFS_path" Text :> Post '[JSON] IPFSPinChange))))))))))))

Methods

from :: IPFSAPI route -> Rep (IPFSAPI route) x #

to :: Rep (IPFSAPI route) x -> IPFSAPI route #

type Rep (IPFSAPI route) 
Instance details

Defined in Blockfrost.API.IPFS

type Rep (IPFSAPI route) = D1 ('MetaData "IPFSAPI" "Blockfrost.API.IPFS" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "IPFSAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_add") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Add a file or directory to IPFS" :> (Description "You need to `/ipfs/pin/add` an object to avoid it being garbage collected. This usage is being counted in your user account quota." :> (Tag "IPFS \187 Add" :> ("add" :> (MultipartForm Tmp Form :> Post '[JSON] IPFSAdd))))))) :*: (S1 ('MetaSel ('Just "_gateway") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Relay to an IPFS gateway" :> (Description "Retrieve an object from the IFPS gateway. (Useful if you do not want to rely on a public gateway, such as ``ipfs.blockfrost.dev`)." :> (Tag "IPFS \187 Gateway" :> ("gateway" :> (Capture "IPFS_path" Text :> Get '[PlainText, OctetStream] IPFSData))))))) :*: S1 ('MetaSel ('Just "_pin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Pin an object" :> (Description "Pinned objects are counted in your user storage quota." :> (Tag "IPFS \187 Pins" :> ("pin" :> ("add" :> (Capture "IPFS_path" Text :> Post '[JSON] IPFSPinChange)))))))))) :*: (S1 ('MetaSel ('Just "_listPins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "List pinned objects" :> (Description "List objects pinned to local storage." :> (Tag "IPFS \187 Pins" :> ("pin" :> ("list" :> (Pagination :> (Sorting :> Get '[JSON] [IPFSPin]))))))))) :*: (S1 ('MetaSel ('Just "_getPin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Get pinned object details" :> (Description "Obtain inormation about specific pinned object." :> (Tag "IPFS \187 Pins" :> ("pin" :> ("list" :> (Capture "IPFS_path" Text :> Get '[JSON] IPFSPin)))))))) :*: S1 ('MetaSel ('Just "_removePin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Remove pinned object from local storage" :> (Description "Remove pinned object from local storage" :> (Tag "IPFS \187 Pins" :> ("pin" :> ("remove" :> (Capture "IPFS_path" Text :> Post '[JSON] IPFSPinChange))))))))))))

data CommonAPI route #

Constructors

CommonAPI 

Fields

Instances

Instances details
Generic (CommonAPI route) 
Instance details

Defined in Blockfrost.API.Common

Associated Types

type Rep (CommonAPI route) 
Instance details

Defined in Blockfrost.API.Common

type Rep (CommonAPI route) = D1 ('MetaData "CommonAPI" "Blockfrost.API.Common" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "CommonAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_getRoot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Root endpoint" :> (Description "Root endpoint has no other function than to point end users to documentation." :> (Tag "Health" :> Get '[JSON] URLVersion))))) :*: S1 ('MetaSel ('Just "_getHealth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Backend health status" :> (Description "Return backend status as a boolean. Your application should handle situations when backend for the given chain is unavailable." :> (Tag "Health" :> ("health" :> Get '[JSON] Healthy))))))) :*: (S1 ('MetaSel ('Just "_getClock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Current backend time" :> (Description "This endpoint provides the current UNIX time. Your application might use this to verify if the client clock is not out of sync." :> (Tag "Health" :> ("health" :> ("clock" :> Get '[JSON] ServerTime))))))) :*: (S1 ('MetaSel ('Just "_metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Blockfrost usage metrics" :> (Description "History of your Blockfrost usage metrics in the past 30 days." :> (Tag "Metrics" :> ("metrics" :> Get '[JSON] [Metric])))))) :*: S1 ('MetaSel ('Just "_metricsEndpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Blockfrost endpoint usage metrics" :> (Description "History of your Blockfrost usage metrics per endpoint in the past 30 days." :> (Tag "Metrics" :> ("metrics" :> ("endpoints" :> Get '[JSON] [(Text, Metric)])))))))))))

Methods

from :: CommonAPI route -> Rep (CommonAPI route) x #

to :: Rep (CommonAPI route) x -> CommonAPI route #

type Rep (CommonAPI route) 
Instance details

Defined in Blockfrost.API.Common

type Rep (CommonAPI route) = D1 ('MetaData "CommonAPI" "Blockfrost.API.Common" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "CommonAPI" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_getRoot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Root endpoint" :> (Description "Root endpoint has no other function than to point end users to documentation." :> (Tag "Health" :> Get '[JSON] URLVersion))))) :*: S1 ('MetaSel ('Just "_getHealth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Backend health status" :> (Description "Return backend status as a boolean. Your application should handle situations when backend for the given chain is unavailable." :> (Tag "Health" :> ("health" :> Get '[JSON] Healthy))))))) :*: (S1 ('MetaSel ('Just "_getClock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Current backend time" :> (Description "This endpoint provides the current UNIX time. Your application might use this to verify if the client clock is not out of sync." :> (Tag "Health" :> ("health" :> ("clock" :> Get '[JSON] ServerTime))))))) :*: (S1 ('MetaSel ('Just "_metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Blockfrost usage metrics" :> (Description "History of your Blockfrost usage metrics in the past 30 days." :> (Tag "Metrics" :> ("metrics" :> Get '[JSON] [Metric])))))) :*: S1 ('MetaSel ('Just "_metricsEndpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Blockfrost endpoint usage metrics" :> (Description "History of your Blockfrost usage metrics per endpoint in the past 30 days." :> (Tag "Metrics" :> ("metrics" :> ("endpoints" :> Get '[JSON] [(Text, Metric)])))))))))))

newtype BlockfrostAPI route #

Constructors

BlockfrostAPI 

Fields

Instances

Instances details
Generic (BlockfrostAPI route) 
Instance details

Defined in Blockfrost.API

Associated Types

type Rep (BlockfrostAPI route) 
Instance details

Defined in Blockfrost.API

type Rep (BlockfrostAPI route) = D1 ('MetaData "BlockfrostAPI" "Blockfrost.API" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'True) (C1 ('MetaCons "BlockfrostAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_apiV0") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("api" :> ("v0" :> (BlockfrostAuth :> (UserAgent :> ToServantApi BlockfrostV0API))))))))

Methods

from :: BlockfrostAPI route -> Rep (BlockfrostAPI route) x #

to :: Rep (BlockfrostAPI route) x -> BlockfrostAPI route #

type Rep (BlockfrostAPI route) 
Instance details

Defined in Blockfrost.API

type Rep (BlockfrostAPI route) = D1 ('MetaData "BlockfrostAPI" "Blockfrost.API" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'True) (C1 ('MetaCons "BlockfrostAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "_apiV0") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("api" :> ("v0" :> (BlockfrostAuth :> (UserAgent :> ToServantApi BlockfrostV0API))))))))

data BlockfrostV0API route #

Constructors

BlockfrostV0API 

Fields

Instances

Instances details
Generic (BlockfrostV0API route) 
Instance details

Defined in Blockfrost.API

Associated Types

type Rep (BlockfrostV0API route) 
Instance details

Defined in Blockfrost.API

type Rep (BlockfrostV0API route) = D1 ('MetaData "BlockfrostV0API" "Blockfrost.API" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "BlockfrostV0API" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_common") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ToServantApi CommonAPI)) :*: S1 ('MetaSel ('Just "_cardano") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ToServantApi CardanoAPI))) :*: (S1 ('MetaSel ('Just "_ipfs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("ipfs" :> ToServantApi IPFSAPI))) :*: S1 ('MetaSel ('Just "_nutLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("nutlink" :> (Tag "Nut.link" :> ToServantApi NutLinkAPI)))))))

Methods

from :: BlockfrostV0API route -> Rep (BlockfrostV0API route) x #

to :: Rep (BlockfrostV0API route) x -> BlockfrostV0API route #

type Rep (BlockfrostV0API route) 
Instance details

Defined in Blockfrost.API

type Rep (BlockfrostV0API route) = D1 ('MetaData "BlockfrostV0API" "Blockfrost.API" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "BlockfrostV0API" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_common") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ToServantApi CommonAPI)) :*: S1 ('MetaSel ('Just "_cardano") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ToServantApi CardanoAPI))) :*: (S1 ('MetaSel ('Just "_ipfs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("ipfs" :> ToServantApi IPFSAPI))) :*: S1 ('MetaSel ('Just "_nutLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("nutlink" :> (Tag "Nut.link" :> ToServantApi NutLinkAPI)))))))

data CardanoAPI route #

Constructors

CardanoAPI 

Fields

Instances

Instances details
Generic (CardanoAPI route) 
Instance details

Defined in Blockfrost.API

Associated Types

type Rep (CardanoAPI route) 
Instance details

Defined in Blockfrost.API

type Rep (CardanoAPI route) = D1 ('MetaData "CardanoAPI" "Blockfrost.API" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "CardanoAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_accounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("accounts" :> (Tag "Cardano \187 Accounts" :> ToServantApi AccountsAPI)))) :*: (S1 ('MetaSel ('Just "_addresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("addresses" :> (Tag "Cardano \187 Addresses" :> ToServantApi AddressesAPI)))) :*: S1 ('MetaSel ('Just "_assets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("assets" :> (Tag "Cardano \187 Assets" :> ToServantApi AssetsAPI)))))) :*: ((S1 ('MetaSel ('Just "_blocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("blocks" :> (Tag "Cardano \187 Blocks" :> ToServantApi BlocksAPI)))) :*: S1 ('MetaSel ('Just "_epochs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("epochs" :> (Tag "Cardano \187 Epochs" :> ToServantApi EpochsAPI))))) :*: (S1 ('MetaSel ('Just "_governance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("governance" :> (Tag "Cardano \187 Governance" :> ToServantApi GovernanceAPI)))) :*: S1 ('MetaSel ('Just "_ledger") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("genesis" :> (Tag "Cardano \187 Ledger" :> ToServantApi LedgerAPI))))))) :*: (((S1 ('MetaSel ('Just "_mempool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("mempool" :> (Tag "Cardano \187 Mempool" :> ToServantApi MempoolAPI)))) :*: S1 ('MetaSel ('Just "_metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("metadata" :> (Tag "Cardano \187 Metadata" :> ToServantApi MetadataAPI))))) :*: (S1 ('MetaSel ('Just "_network") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("network" :> (Tag "Cardano \187 Network" :> ToServantApi NetworkAPI)))) :*: S1 ('MetaSel ('Just "_pools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("pools" :> (Tag "Cardano \187 Pools" :> ToServantApi PoolsAPI)))))) :*: ((S1 ('MetaSel ('Just "_scripts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("scripts" :> (Tag "Cardano \187 Scripts" :> ToServantApi ScriptsAPI)))) :*: S1 ('MetaSel ('Just "_transactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("txs" :> (Tag "Cardano \187 Transactions" :> ToServantApi TransactionsAPI))))) :*: (S1 ('MetaSel ('Just "_txSubmit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Submit a transaction" :> (Description "Submit an already serialized transaction to the network." :> (Tag "Cardano \187 Transactions" :> ("tx" :> ("submit" :> (ReqBody '[CBOR] CBORString :> Post '[JSON] TxHash)))))))) :*: S1 ('MetaSel ('Just "_utils") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("utils" :> (Tag "Cardano \187 Utilities" :> ToServantApi UtilsAPI)))))))))

Methods

from :: CardanoAPI route -> Rep (CardanoAPI route) x #

to :: Rep (CardanoAPI route) x -> CardanoAPI route #

type Rep (CardanoAPI route) 
Instance details

Defined in Blockfrost.API

type Rep (CardanoAPI route) = D1 ('MetaData "CardanoAPI" "Blockfrost.API" "blockfrost-api-0.13.0.0-G3r5vy68xA3FMbdtjl6vmx" 'False) (C1 ('MetaCons "CardanoAPI" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_accounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("accounts" :> (Tag "Cardano \187 Accounts" :> ToServantApi AccountsAPI)))) :*: (S1 ('MetaSel ('Just "_addresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("addresses" :> (Tag "Cardano \187 Addresses" :> ToServantApi AddressesAPI)))) :*: S1 ('MetaSel ('Just "_assets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("assets" :> (Tag "Cardano \187 Assets" :> ToServantApi AssetsAPI)))))) :*: ((S1 ('MetaSel ('Just "_blocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("blocks" :> (Tag "Cardano \187 Blocks" :> ToServantApi BlocksAPI)))) :*: S1 ('MetaSel ('Just "_epochs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("epochs" :> (Tag "Cardano \187 Epochs" :> ToServantApi EpochsAPI))))) :*: (S1 ('MetaSel ('Just "_governance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("governance" :> (Tag "Cardano \187 Governance" :> ToServantApi GovernanceAPI)))) :*: S1 ('MetaSel ('Just "_ledger") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("genesis" :> (Tag "Cardano \187 Ledger" :> ToServantApi LedgerAPI))))))) :*: (((S1 ('MetaSel ('Just "_mempool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("mempool" :> (Tag "Cardano \187 Mempool" :> ToServantApi MempoolAPI)))) :*: S1 ('MetaSel ('Just "_metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("metadata" :> (Tag "Cardano \187 Metadata" :> ToServantApi MetadataAPI))))) :*: (S1 ('MetaSel ('Just "_network") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("network" :> (Tag "Cardano \187 Network" :> ToServantApi NetworkAPI)))) :*: S1 ('MetaSel ('Just "_pools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("pools" :> (Tag "Cardano \187 Pools" :> ToServantApi PoolsAPI)))))) :*: ((S1 ('MetaSel ('Just "_scripts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("scripts" :> (Tag "Cardano \187 Scripts" :> ToServantApi ScriptsAPI)))) :*: S1 ('MetaSel ('Just "_transactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("txs" :> (Tag "Cardano \187 Transactions" :> ToServantApi TransactionsAPI))))) :*: (S1 ('MetaSel ('Just "_txSubmit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- (Summary "Submit a transaction" :> (Description "Submit an already serialized transaction to the network." :> (Tag "Cardano \187 Transactions" :> ("tx" :> ("submit" :> (ReqBody '[CBOR] CBORString :> Post '[JSON] TxHash)))))))) :*: S1 ('MetaSel ('Just "_utils") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- ("utils" :> (Tag "Cardano \187 Utilities" :> ToServantApi UtilsAPI)))))))))

getRoot :: MonadBlockfrost m => m URLVersion Source #

Root endpoint has no other function than to point end users to documentation

getHealth :: MonadBlockfrost m => m Healthy Source #

Return backend status. Your application should handle situations when backend for the given chain is unavailable.

getClock :: MonadBlockfrost m => m ServerTime Source #

Get current backend time

getMetrics :: MonadBlockfrost m => m [Metric] Source #

Get Blockfrost usage metrics over last 30 days

getMetricsEndpoints :: MonadBlockfrost m => m [(Text, Metric)] Source #

Get Blockfrost endpoint usage metrics over last 30 days

getAccount :: MonadBlockfrost m => Address -> m AccountInfo Source #

Obtain information about a specific stake account.

getAccountRewards :: MonadBlockfrost m => Address -> m [AccountReward] Source #

Obtain information about the history of a specific account.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAccountRewards' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountReward] Source #

Obtain information about the history of a specific account. Allows custom paging and ordering using Paged and SortOrder.

getAccountHistory :: MonadBlockfrost m => Address -> m [AccountHistory] Source #

Obtain information about the history of a specific account.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAccountHistory' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountHistory] Source #

Obtain information about the history of a specific account. Allows custom paging and ordering using Paged and SortOrder.

getAccountDelegations :: MonadBlockfrost m => Address -> m [AccountDelegation] Source #

Obtain information about the delegation of a specific account.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAccountDelegations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountDelegation] Source #

Obtain information about the delegation of a specific account. Allows custom paging and ordering using Paged and SortOrder.

getAccountRegistrations :: MonadBlockfrost m => Address -> m [AccountRegistration] Source #

Obtain information about the registrations and deregistrations of a specific account.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAccountRegistrations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountRegistration] Source #

Obtain information about the registrations and deregistrations of a specific account. Allows custom paging and ordering using Paged and SortOrder.

getAccountWithdrawals :: MonadBlockfrost m => Address -> m [AccountWithdrawal] Source #

Obtain information about the withdrawals of a specific account.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAccountWithdrawals' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountWithdrawal] Source #

Obtain information about the withdrawals of a specific account. Allows custom paging and ordering using Paged and SortOrder.

getAccountMirs :: MonadBlockfrost m => Address -> m [AccountMir] Source #

Obtain information about the MIRs of a specific account.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAccountMirs' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountMir] Source #

Obtain information about the MIRs of a specific account. Allows custom paging and ordering using Paged and SortOrder.

getAccountAssociatedAddresses :: MonadBlockfrost m => Address -> m [AddressAssociated] Source #

Obtain information about the addresses of a specific account.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAccountAssociatedAddresses' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AddressAssociated] Source #

Obtain information about the addresses of a specific account. Allows custom paging and ordering using Paged and SortOrder.

getAccountAssociatedAssets :: MonadBlockfrost m => Address -> m [Amount] Source #

Obtain information about assets associated with addresses of a specific account.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAccountAssociatedAssets' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [Amount] Source #

Obtain information about assets associated with addresses of a specific account. Allows custom paging and ordering using Paged and SortOrder.

getAddressInfo :: MonadBlockfrost m => Address -> m AddressInfo Source #

Obtain information about a specific address.

getAddressInfoExtended :: MonadBlockfrost m => Address -> m AddressInfoExtended Source #

Obtain extended information about a specific address.

getAddressDetails :: MonadBlockfrost m => Address -> m AddressDetails Source #

Obtain details about an address.

getAddressUtxos :: MonadBlockfrost m => Address -> m [AddressUtxo] Source #

UTXOs of the address.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAddressUtxos' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AddressUtxo] Source #

UTXOs of the address. Allows custom paging and ordering using Paged and SortOrder.

getAddressUtxosAsset :: MonadBlockfrost m => Address -> AssetId -> m [AddressUtxo] Source #

UTXOs of the address containing specific asset.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAddressUtxosAsset' :: MonadBlockfrost m => Address -> AssetId -> Paged -> SortOrder -> m [AddressUtxo] Source #

UTXOs of the address containing specific asset. Allows custom paging and ordering using Paged and SortOrder.

getAddressTransactions :: MonadBlockfrost m => Address -> m [AddressTransaction] Source #

Transactions on the address.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAddressTransactions' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> Maybe BlockIndex -> Maybe BlockIndex -> m [AddressTransaction] Source #

Transactions on the address. Allows custom paging and ordering using Paged and SortOrder. Also allows support for limiting block ranges using from/to BlockIndexes.

getAssets :: MonadBlockfrost m => m [AssetInfo] Source #

List all assets

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAssets' :: MonadBlockfrost m => Paged -> SortOrder -> m [AssetInfo] Source #

List all assets Allows custom paging and ordering using Paged and SortOrder.

getAssetDetails :: MonadBlockfrost m => AssetId -> m AssetDetails Source #

Information about a specific asset

getAssetHistory :: MonadBlockfrost m => AssetId -> m [AssetHistory] Source #

History of a specific asset

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAssetHistory' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetHistory] Source #

History of a specific asset Allows custom paging and ordering using Paged and SortOrder.

getAssetTransactions :: MonadBlockfrost m => AssetId -> m [AssetTransaction] Source #

List of a specific asset transactions

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAssetTransactions' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetTransaction] Source #

List of a specific asset transactions Allows custom paging and ordering using Paged and SortOrder.

getAssetAddresses :: MonadBlockfrost m => AssetId -> m [AssetAddress] Source #

List of a addresses containing a specific asset

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAssetAddresses' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetAddress] Source #

List of a addresses containing a specific asset Allows custom paging and ordering using Paged and SortOrder.

getAssetsByPolicy :: MonadBlockfrost m => PolicyId -> m [AssetInfo] Source #

List of asset minted under a specific policy

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getAssetsByPolicy' :: MonadBlockfrost m => PolicyId -> Paged -> SortOrder -> m [AssetInfo] Source #

List of asset minted under a specific policy Allows custom paging and ordering using Paged and SortOrder.

getLatestBlock :: MonadBlockfrost m => m Block Source #

Return the latest block available to the backends, also known as the tip of the blockchain.

getLatestBlockTxs :: MonadBlockfrost m => m [TxHash] Source #

Return the transactions within the latest block.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getLatestBlockTxs' :: MonadBlockfrost m => Paged -> SortOrder -> m [TxHash] Source #

Return the transactions within the latest block. Allows custom paging and ordering using Paged and SortOrder.

getLatestBlockTxsCBOR :: MonadBlockfrost m => m [TxHashCBOR] Source #

Return the transactions within the block, including CBOR.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getLatestBlockTxsCBOR' :: MonadBlockfrost m => Paged -> SortOrder -> m [TxHashCBOR] Source #

Return the transactions within the block, including CBOR. Allows custom paging and ordering using Paged and SortOrder.

getBlock :: MonadBlockfrost m => Either Integer BlockHash -> m Block Source #

Return the content of a requested block.

getBlockSlot :: MonadBlockfrost m => Slot -> m Block Source #

Return the content of a requested block for a specific slot.

getBlockEpochSlot :: MonadBlockfrost m => Epoch -> Slot -> m Block Source #

Return the content of a requested block for a specific slot in an epoch.

getNextBlocks :: MonadBlockfrost m => Either Integer BlockHash -> m [Block] Source #

Return the list of blocks following a specific block.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getNextBlocks' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [Block] Source #

Return the list of blocks following a specific block. Allows custom paging using Paged.

getPreviousBlocks :: MonadBlockfrost m => Either Integer BlockHash -> m [Block] Source #

Return the list of blocks preceding a specific block.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getPreviousBlocks' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [Block] Source #

Return the list of blocks preceding a specific block. Allows custom paging using Paged.

getBlockTxs :: MonadBlockfrost m => Either Integer BlockHash -> m [TxHash] Source #

Return the transactions within the block.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getBlockTxs' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> SortOrder -> m [TxHash] Source #

Return the transactions within the block. Allows custom paging and ordering using Paged and SortOrder.

getBlockTxsCBOR :: MonadBlockfrost m => Either Integer BlockHash -> m [TxHashCBOR] Source #

Return the transactions within the block, including CBOR.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getBlockTxsCBOR' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> SortOrder -> m [TxHashCBOR] Source #

Return the transactions within the block, including CBOR. Allows custom paging and ordering using Paged and SortOrder.

getBlockAffectedAddresses' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [(Address, [TxHash])] Source #

Return list of addresses affected in the specified block with additional information, sorted by the bech32 address, ascending. Allows custom paging using Paged.

getBlockAffectedAddresses :: MonadBlockfrost m => Either Integer BlockHash -> m [(Address, [TxHash])] Source #

Return list of addresses affected in the specified block with additional information, sorted by the bech32 address, ascending.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getLatestEpoch :: MonadBlockfrost m => m EpochInfo Source #

Get the information about the latest, therefore current, epoch.

getLatestEpochProtocolParams :: MonadBlockfrost m => m ProtocolParams Source #

Get the protocol parameters for the latest epoch.

getEpoch :: MonadBlockfrost m => Epoch -> m EpochInfo Source #

Get the information about specific epoch.

getNextEpochs :: MonadBlockfrost m => Epoch -> m [EpochInfo] Source #

Return the list of epochs following a specific epoch.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getNextEpochs' :: MonadBlockfrost m => Epoch -> Paged -> m [EpochInfo] Source #

Return the list of epochs following a specific epoch. Allows custom paging using Paged.

getPreviousEpochs :: MonadBlockfrost m => Epoch -> m [EpochInfo] Source #

Return the list of epochs preceding a specific epoch.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getPreviousEpochs' :: MonadBlockfrost m => Epoch -> Paged -> m [EpochInfo] Source #

Return the list of epochs preceding a specific epoch. Allows custom paging using Paged.

getEpochStake :: MonadBlockfrost m => Epoch -> m [StakeDistribution] Source #

Return the active stake distribution for the specified epoch.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getEpochStake' :: MonadBlockfrost m => Epoch -> Paged -> m [StakeDistribution] Source #

Return the active stake distribution for the specified epoch. Allows custom paging using Paged.

getEpochStakeByPool :: MonadBlockfrost m => Epoch -> PoolId -> m [PoolStakeDistribution] Source #

Return the active stake distribution for the epoch specified by stake pool.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getEpochStakeByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> m [PoolStakeDistribution] Source #

Return the active stake distribution for the epoch specified by stake pool. Allows custom paging using Paged.

getEpochBlocks :: MonadBlockfrost m => Epoch -> m [BlockHash] Source #

Return the blocks minted for the specified epoch.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getEpochBlocks' :: MonadBlockfrost m => Epoch -> Paged -> SortOrder -> m [BlockHash] Source #

Return the blocks minted for the specified epoch. Allows custom paging and ordering using Paged and SortOrder.

getEpochBlocksByPool :: MonadBlockfrost m => Epoch -> PoolId -> m [BlockHash] Source #

Return the block minted for the epoch specified by stake pool.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getEpochBlocksByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> SortOrder -> m [BlockHash] Source #

Return the block minted for the epoch specified by stake pool. Allows custom paging and ordering using Paged and SortOrder.

getEpochProtocolParams :: MonadBlockfrost m => Epoch -> m ProtocolParams Source #

Return the protocol parameters for the specified epoch.

getDReps :: MonadBlockfrost m => m [DRep] Source #

Return the information about Delegate Representatives (DReps).

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getDReps' :: MonadBlockfrost m => Paged -> SortOrder -> m [DRep] Source #

Return the information about Delegate Representatives (DReps). Allows custom paging and ordering using Paged and SortOrder.

getDRep :: MonadBlockfrost m => DRepId -> m DRepInfo Source #

Return the information about specific Delegate Representative (DRep).

getDRepDelegators :: MonadBlockfrost m => DRepId -> m [DRepDelegator] Source #

Get a list of DRep delegators

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getDRepDelegators' :: MonadBlockfrost m => DRepId -> Paged -> SortOrder -> m [DRepDelegator] Source #

Get a list of DRep delegators Allows custom paging and ordering using Paged and SortOrder.

getDRepMetadata :: MonadBlockfrost m => DRepId -> m DRepMeta Source #

Get DRep metadata information.

getDRepUpdates :: MonadBlockfrost m => DRepId -> m [DRepUpdate] Source #

Get a list of certificate updates to the DRep.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getDRepUpdates' :: MonadBlockfrost m => DRepId -> Paged -> SortOrder -> m [DRepUpdate] Source #

Get a list of certificate updates to the DRep. Allows custom paging and ordering using Paged and SortOrder.

getDRepVotes :: MonadBlockfrost m => DRepId -> m [DRepVote] Source #

Get a history of DReps votes.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getDRepVotes' :: MonadBlockfrost m => DRepId -> Paged -> SortOrder -> m [DRepVote] Source #

Get a history of DReps votes. Allows custom paging and ordering using Paged and SortOrder.

getProposals :: MonadBlockfrost m => m [Proposal] Source #

Get a history of DReps proposals.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getProposals' :: MonadBlockfrost m => Paged -> SortOrder -> m [Proposal] Source #

Get a history of DReps proposals. Allows custom paging and ordering using Paged and SortOrder.

getProposal :: MonadBlockfrost m => TxHash -> Integer -> m ProposalInfo Source #

Get a proposal details.

getParamProposal :: MonadBlockfrost m => TxHash -> Integer -> m ParamProposal Source #

Get a parameter proposal details.

getWithdrawalProposal :: MonadBlockfrost m => TxHash -> Integer -> m [WithdrawalProposal] Source #

Get a witdhrawal proposal details.

getProposalVotes :: MonadBlockfrost m => TxHash -> Integer -> m [ProposalVote] Source #

Get a history of DReps proposals.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getProposalVotes' :: MonadBlockfrost m => TxHash -> Integer -> Paged -> SortOrder -> m [ProposalVote] Source #

Get a history of DReps proposals. Allows custom paging and ordering using Paged and SortOrder.

getProposalMetadata :: MonadBlockfrost m => TxHash -> Integer -> m ProposalMeta Source #

Get a parameter proposal details.

getLedgerGenesis :: MonadBlockfrost m => m Genesis Source #

Get the information about blockchain genesis.

getTxMetadataLabels :: MonadBlockfrost m => m [TxMeta] Source #

List of all used transaction metadata labels.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getTxMetadataLabels' :: MonadBlockfrost m => Paged -> SortOrder -> m [TxMeta] Source #

List of all used transaction metadata labels. Allows custom paging and ordering using Paged and SortOrder.

getTxMetadataByLabelJSON :: MonadBlockfrost m => Text -> m [TxMetaJSON] Source #

Transaction metadata per label (JSON Value)

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getTxMetadataByLabelJSON' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [TxMetaJSON] Source #

Transaction metadata per label (JSON Value) Allows custom paging and ordering using Paged and SortOrder.

getTxMetadataByLabelCBOR :: MonadBlockfrost m => Text -> m [TxMetaCBOR] Source #

Transaction metadata per label (CBOR ByteString)

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getTxMetadataByLabelCBOR' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [TxMetaCBOR] Source #

Transaction metadata per label (CBOR ByteString) Allows custom paging and ordering using Paged and SortOrder.

getNetworkInfo :: MonadBlockfrost m => m Network Source #

Get detailed network information.

getNetworkEras :: MonadBlockfrost m => m [NetworkEraSummary] Source #

Get summarized information on each era in the network, including start, end, and variable era parameters.

listPools :: MonadBlockfrost m => m [PoolId] Source #

List registered stake pools.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

listPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolId] Source #

List registered stake pools. Allows custom paging and ordering using Paged and SortOrder.

listPoolsExtended :: MonadBlockfrost m => m [Pool] Source #

List registered stake pools with additional info.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

listPoolsExtended' :: MonadBlockfrost m => Paged -> SortOrder -> m [Pool] Source #

List registered stake pools with additional info Allows custom paging and ordering using Paged and SortOrder.

listRetiredPools :: MonadBlockfrost m => m [PoolEpoch] Source #

List retired stake pools.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

listRetiredPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolEpoch] Source #

List retired stake pools. Allows custom paging and ordering using Paged and SortOrder.

listRetiringPools :: MonadBlockfrost m => m [PoolEpoch] Source #

List retiring stake pools.

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

listRetiringPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolEpoch] Source #

List retiring stake pools. Allows custom paging and ordering using Paged and SortOrder.

getPool :: MonadBlockfrost m => PoolId -> m PoolInfo Source #

Get specific stake pool information

getPoolHistory :: MonadBlockfrost m => PoolId -> m [PoolHistory] Source #

Get stake pool history

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getPoolHistory' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolHistory] Source #

Get stake pool history Allows custom paging and ordering using Paged and SortOrder.

getPoolMetadata :: MonadBlockfrost m => PoolId -> m (Maybe PoolMetadata) Source #

Get stake pool metadata

getPoolRelays :: MonadBlockfrost m => PoolId -> m [PoolRelay] Source #

Get stake pool relays

getPoolDelegators :: MonadBlockfrost m => PoolId -> m [PoolDelegator] Source #

Get stake pool delegators

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getPoolDelegators' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolDelegator] Source #

Get stake pool delegators Allows custom paging and ordering using Paged and SortOrder.

getPoolBlocks :: MonadBlockfrost m => PoolId -> m [BlockHash] Source #

Get stake pool blocks

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getPoolBlocks' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [BlockHash] Source #

Get stake pool blocks Allows custom paging and ordering using Paged and SortOrder.

getPoolUpdates :: MonadBlockfrost m => PoolId -> m [PoolUpdate] Source #

Get stake pool updates

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getPoolUpdates' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolUpdate] Source #

Get stake pool updates Allows custom paging and ordering using Paged and SortOrder.

listScripts :: MonadBlockfrost m => m ScriptHashList Source #

List scripts

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

listScripts' :: MonadBlockfrost m => Paged -> SortOrder -> m ScriptHashList Source #

List scripts Allows custom paging and ordering using Paged and SortOrder.

getScript :: MonadBlockfrost m => ScriptHash -> m Script Source #

Get specific script information

getScriptRedeemers :: MonadBlockfrost m => ScriptHash -> m [ScriptRedeemer] Source #

Get redeemers of a specific script

Queries 100 entries. To query all entries use allPages with principled variant of this function (suffixed with ') that accepts Paged argument.

getScriptRedeemers' :: MonadBlockfrost m => ScriptHash -> Paged -> SortOrder -> m [ScriptRedeemer] Source #

Get redeemers of a specific script Allows custom paging and ordering using Paged and SortOrder.

getScriptJSON :: MonadBlockfrost m => ScriptHash -> m ScriptJSON Source #

Get a JSON representation of a timelock script

getScriptCBOR :: MonadBlockfrost m => ScriptHash -> m ScriptCBOR Source #

Get a CBOR representation of a plutus script

getTx :: MonadBlockfrost m => TxHash -> m Transaction Source #

Get specific transaction

getTxUtxos :: MonadBlockfrost m => TxHash -> m TransactionUtxos Source #

Get transaction UTXOs

getTxStakes :: MonadBlockfrost m => TxHash -> m [TransactionStake] Source #

Get (de-)registrations of a stake address within a transaction

getTxDelegations :: MonadBlockfrost m => TxHash -> m [TransactionDelegation] Source #

Get transaction delegation certificates

getTxWithdrawals :: MonadBlockfrost m => TxHash -> m [TransactionWithdrawal] Source #

Get transaction withdrawals

getTxMirs :: MonadBlockfrost m => TxHash -> m [TransactionMir] Source #

Get transaction MIRs (Move Instantaneous Rewards)

getTxPoolUpdates :: MonadBlockfrost m => TxHash -> m [TransactionPoolUpdate] Source #

Get transaction stake pool registration and update certificates

getTxPoolRetiring :: MonadBlockfrost m => TxHash -> m [TransactionPoolRetiring] Source #

Get transaction stake pool retirement certificates

getTxMetadataJSON :: MonadBlockfrost m => TxHash -> m [TransactionMetaJSON] Source #

Get transaction metadata in JSON

getTxCBOR :: MonadBlockfrost m => TxHash -> m TransactionCBOR Source #

Get transaction in CBOR

getTxMetadataCBOR :: MonadBlockfrost m => TxHash -> m [TransactionMetaCBOR] Source #

Get transaction metadata in CBOR

getTxRedeemers :: MonadBlockfrost m => TxHash -> m [TransactionRedeemer] Source #

Get transaction redeemers

submitTx :: MonadBlockfrost m => CBORString -> m TxHash Source #

Submit an already serialized transaction to the network.

deriveShelleyAddress Source #

Arguments

:: MonadBlockfrost m 
=> Text

Hexadecimal xpub

-> Integer

Account role

-> Integer

Address index

-> m DerivedAddress 

Derive Shelley address from xpub key

txEvaluate :: MonadBlockfrost m => CBORString -> m TxEval Source #

Submit a transaction for execution units evaluation

txEvaluateUTXOs :: MonadBlockfrost m => TxEvalInput -> m TxEval Source #

Submit a transaction for execution units evaluation (additional UTXO set)

ipfsAdd :: (MonadError BlockfrostError m, MonadBlockfrost m) => FilePath -> m IPFSAdd Source #

Add a file or directory to IPFS

ipfsGateway :: MonadBlockfrost m => Text -> m IPFSData Source #

Fetch file via API

ipfsGetPin :: MonadBlockfrost m => Text -> m IPFSPin Source #

Get pinned object details

ipfsListPins :: MonadBlockfrost m => m [IPFSPin] Source #

List objects pinned to local storage

ipfsListPins' :: MonadBlockfrost m => Paged -> SortOrder -> m [IPFSPin] Source #

List objects pinned to local storage Allows custom paging and ordering using Paged and SortOrder.

ipfsPin :: MonadBlockfrost m => Text -> m IPFSPinChange Source #

Pin an object

ipfsRemovePin :: MonadBlockfrost m => Text -> m IPFSPinChange Source #

Remove pinned object from local storage

nutlinkListAddress :: MonadBlockfrost m => Address -> m NutlinkAddress Source #

List metadata about specific address

nutlinkListAddressTickers :: MonadBlockfrost m => Address -> m [NutlinkAddressTicker] Source #

List tickers for a specific metadata oracle

nutlinkListAddressTickers' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [NutlinkAddressTicker] Source #

List tickers for a specific metadata oracle Allows custom paging and ordering using Paged and SortOrder.

nutlinkAddressTickers :: MonadBlockfrost m => Address -> Text -> m [NutlinkTicker] Source #

List of records of a specific ticker

nutlinkAddressTickers' :: MonadBlockfrost m => Address -> Text -> Paged -> SortOrder -> m [NutlinkTicker] Source #

List of records of a specific ticker Allows custom paging and ordering using Paged and SortOrder.

nutlinkTickers :: MonadBlockfrost m => Text -> m [(Address, NutlinkTicker)] Source #

List of records of a specific ticker

nutlinkTickers' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [(Address, NutlinkTicker)] Source #

List of records of a specific ticker Allows custom paging and ordering using Paged and SortOrder.