Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost.Client
Description
Blockfrost client
Synopsis
- data Project = Project {
- projectEnv :: Env
- projectId :: Text
- data NutLinkAPI route = NutLinkAPI {
- _address :: route :- (Summary "List metadata about specific address" :> (Description "List metadata about specific address" :> (Capture "address" Address :> Get '[JSON] NutlinkAddress)))
- _listAddressTickers :: 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]))))))
- _addressTickers :: 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])))))))
- _tickers :: 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 = TransactionsAPI {
- _tx :: route :- (Summary "Specific transaction" :> (Description "Return content of the requested transaction." :> (Capture "hash" TxHash :> Get '[JSON] Transaction)))
- _txUtxos :: route :- (Summary "Transaction UTXOs" :> (Description "Return the inputs and UTXOs of the specific transaction." :> (Capture "hash" TxHash :> ("utxos" :> Get '[JSON] TransactionUtxos))))
- _txRedeemers :: route :- (Summary "Transaction redeemers" :> (Description "Obtain the transaction redeemers." :> (Capture "hash" TxHash :> ("redeemers" :> Get '[JSON] [TransactionRedeemer]))))
- _txStakes :: 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]))))
- _txDelegations :: route :- (Summary "Transaction delegation certificates" :> (Description "Obtain information about delegation certificates of a specific transaction." :> (Capture "hash" TxHash :> ("delegations" :> Get '[JSON] [TransactionDelegation]))))
- _txWithdrawals :: route :- (Summary "Transaction withdrawal" :> (Description "Obtain information about withdrawals of a specific transaction." :> (Capture "hash" TxHash :> ("withdrawals" :> Get '[JSON] [TransactionWithdrawal]))))
- _txMirs :: route :- (Summary "Transaction MIRs" :> (Description "Obtain information about Move Instantaneous Rewards (MIRs) of a specific transaction." :> (Capture "hash" TxHash :> ("mirs" :> Get '[JSON] [TransactionMir]))))
- _txPoolUpdates :: 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]))))
- _txPoolRetiring :: 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]))))
- _txMetadataJSON :: route :- (Summary "Transaction metadata" :> (Description "Obtain the transaction metadata." :> (Capture "hash" TxHash :> ("metadata" :> Get '[JSON] [TransactionMetaJSON]))))
- _txCBOR :: route :- (Summary "Transaction in CBOR" :> (Description "Obtain the CBOR serialized transaction." :> (Capture "hash" TxHash :> ("cbor" :> Get '[JSON] TransactionCBOR))))
- _txMetadataCBOR :: route :- (Summary "Transaction metadata in CBOR" :> (Description "Obtain the transaction metadata in CBOR." :> (Capture "hash" TxHash :> ("metadata" :> ("cbor" :> Get '[JSON] [TransactionMetaCBOR])))))
- data NetworkAPI route = NetworkAPI {
- _networkInfo :: route :- (Summary "Network information" :> (Description "Return detailed network information." :> Get '[JSON] Network))
- _networkEras :: 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 = LedgerAPI {}
- data UtilsAPI route = UtilsAPI {
- _deriveAddr :: 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)))))))
- _txEvaluate :: 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)))))
- _txEvaluateUTXOs :: 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 = ScriptsAPI {
- _listScripts :: route :- (Summary "Scripts" :> (Description "List of scripts." :> (Pagination :> (Sorting :> Get '[JSON] ScriptHashList))))
- _getScript :: route :- (Summary "Specific scripts" :> (Description "Information about a specific script." :> (Capture "script_hash" ScriptHash :> Get '[JSON] Script)))
- _getScriptRedeemers :: 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]))))))
- _getScriptDatum :: route :- (Summary "Datum value" :> (Description "Query JSON value of a datum by its hash" :> ("datum" :> (Capture "datum_hash" DatumHash :> Get '[JSON] ScriptDatum))))
- _getScriptDatumCBOR :: route :- (Summary "Datum CBOR value" :> (Description "Query CBOR serialised datum by its hash" :> ("datum" :> (Capture "datum_hash" DatumHash :> ("cbor" :> Get '[JSON] ScriptDatumCBOR)))))
- _getScriptJSON :: route :- (Summary "Script JSON" :> (Description "JSON representation of a `timelock` script" :> (Capture "script_hash" ScriptHash :> ("json" :> Get '[JSON] ScriptJSON))))
- _getScriptCBOR :: route :- (Summary "Script CBOR" :> (Description "CBOR representation of a `plutus` script" :> (Capture "script_hash" ScriptHash :> ("cbor" :> Get '[JSON] ScriptCBOR))))
- data PoolsAPI route = PoolsAPI {
- _listPools :: route :- (Summary "List of stake pools" :> (Description "List of registered stake pools." :> (Pagination :> (Sorting :> Get '[JSON] [PoolId]))))
- _listPoolsExtended :: route :- (Summary "List of stake pools with additional information" :> (Description "List of registered stake pools with additional information." :> ("extended" :> (Pagination :> (Sorting :> Get '[JSON] [Pool])))))
- _listRetiredPools :: route :- (Summary "List of retired stake pools" :> (Description "List of already retired stake pools." :> ("retired" :> (Pagination :> (Sorting :> Get '[JSON] [PoolEpoch])))))
- _listRetiringPools :: route :- (Summary "List of retiring stake pools" :> (Description "List of stake pools retiring in the upcoming epochs" :> ("retiring" :> (Pagination :> (Sorting :> Get '[JSON] [PoolEpoch])))))
- _getPool :: route :- (Summary "Specific stake pool" :> (Description "Pool information." :> (Capture "pool_id" PoolId :> Get '[JSON] PoolInfo)))
- _getPoolHistory :: route :- (Summary "Stake pool history" :> (Description "History of stake pool parameters over epochs." :> (Capture "pool_id" PoolId :> ("history" :> (Pagination :> (Sorting :> Get '[JSON] [PoolHistory]))))))
- _getPoolMetadata :: route :- (Summary "Stake pool metadata" :> (Description "Stake pool registration metadata." :> (Capture "pool_id" PoolId :> ("metadata" :> Get '[JSON] PoolMetadataResponse))))
- _getPoolRelays :: route :- (Summary "Stake pool relays" :> (Description "Relays of a stake pool." :> (Capture "pool_id" PoolId :> ("relays" :> Get '[JSON] [PoolRelay]))))
- _getPoolDelegators :: route :- (Summary "Stake pool delegators" :> (Description "List of current stake pools delegators." :> (Capture "pool_id" PoolId :> ("delegators" :> (Pagination :> (Sorting :> Get '[JSON] [PoolDelegator]))))))
- _getPoolBlocks :: route :- (Summary "Stake pool blocks" :> (Description "List of stake pool blocks." :> (Capture "pool_id" PoolId :> ("blocks" :> (Pagination :> (Sorting :> Get '[JSON] [BlockHash]))))))
- _getPoolUpdates :: 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 = MetadataAPI {
- _txMetadataLabels :: route :- (Summary "Transaction metadata labels" :> (Description "List of all used transaction metadata labels." :> ("txs" :> ("labels" :> (Pagination :> (Sorting :> Get '[JSON] [TxMeta]))))))
- _txMetadataByLabelJSON :: route :- (Summary "Transaction metadata content in JSON" :> (Description "Transaction metadata per label." :> ("txs" :> ("labels" :> (Capture "label" Text :> (Pagination :> (Sorting :> Get '[JSON] [TxMetaJSON])))))))
- _txMetadataByLabelCBOR :: 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 = MempoolAPI {
- _mempoolTransactions :: route :- (Summary "Transactions in Mempool." :> (Description "Tx hash list of all transactions that are currently stored in the mempool." :> (Pagination :> (Sorting :> Get '[JSON] [TxHashObject]))))
- _specificTransaction :: route :- (Summary "Transaction in mempoool." :> (Description "Content of a specific transaction in the mempool." :> (Capture "hash" TxHash :> Get '[JSON] MempoolTransaction)))
- _specificAddress :: 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 = GovernanceAPI {
- _dreps :: route :- (Summary "Delegate Representatives (DReps)" :> (Description "Return the information about Delegate Representatives (DReps)." :> ("dreps" :> (Pagination :> (Sorting :> Get '[JSON] [DRep])))))
- _drep :: route :- (Summary "Specific DRep" :> (Description "DRep information." :> ("dreps" :> (Capture "drep_id" DRepId :> Get '[JSON] DRepInfo))))
- _drepDelegators :: route :- (Summary "DRep delegators" :> (Description "List of Drep delegators." :> ("dreps" :> (Capture "drep_id" DRepId :> ("delegators" :> (Pagination :> (Sorting :> Get '[JSON] [DRepDelegator])))))))
- _drepMetadata :: route :- (Summary "DRep metadata" :> (Description "DRep metadata information." :> ("dreps" :> (Capture "drep_id" DRepId :> ("metadata" :> Get '[JSON] DRepMeta)))))
- _drepUpdates :: route :- (Summary "DRep updates" :> (Description "List of certificate updates to the DRep." :> ("dreps" :> (Capture "drep_id" DRepId :> ("updates" :> (Pagination :> (Sorting :> Get '[JSON] [DRepUpdate])))))))
- _drepVotes :: route :- (Summary "DRep votes" :> (Description "History of DReps votes." :> ("dreps" :> (Capture "drep_id" DRepId :> ("votes" :> (Pagination :> (Sorting :> Get '[JSON] [DRepVote])))))))
- _proposals :: route :- (Summary "Proposals" :> (Description "List of proposals." :> ("proposals" :> (Pagination :> (Sorting :> Get '[JSON] [Proposal])))))
- _proposal :: route :- (Summary "Specific proposal" :> (Description "Proposal details." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> Get '[JSON] ProposalInfo)))))
- _paramProposal :: route :- (Summary "Specific parameters proposal" :> (Description "Parameter proposal details." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("parameters" :> Get '[JSON] ParamProposal))))))
- _withdrawalProposal :: route :- (Summary "Specific withdrawals proposal" :> (Description "Withdrawals proposal details." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("withdrawals" :> Get '[JSON] [WithdrawalProposal]))))))
- _proposalVotes :: route :- (Summary "Proposal votes" :> (Description "History of proposal votes." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("votes" :> (Pagination :> (Sorting :> Get '[JSON] [ProposalVote]))))))))
- _proposalMeta :: route :- (Summary "Specific proposal metadata" :> (Description "Proposal metadata information." :> ("proposals" :> (Capture "hash" TxHash :> (Capture "cert_index" Integer :> ("metadata" :> Get '[JSON] ProposalMeta))))))
- data EpochsAPI route = EpochsAPI {
- _latestEpoch :: route :- (Summary "Latest epoch" :> (Description "Return the information about the latest, therefore current, epoch." :> ("latest" :> Get '[JSON] EpochInfo)))
- _latestEpochProtocolParams :: route :- (Summary "Latest epoch protocol parameters" :> (Description "Return the protocol parameters for the latest epoch." :> ("latest" :> ("parameters" :> Get '[JSON] ProtocolParams))))
- _getEpoch :: route :- (Summary "Specific epoch" :> (Description "Return the content of the requested epoch." :> (Capture "epoch_number" Epoch :> Get '[JSON] EpochInfo)))
- _getNextEpochs :: 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])))))
- _getPreviousEpochs :: 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])))))
- _getEpochStake :: route :- (Summary "Stake distribution" :> (Description "Return the active stake distribution for the specified epoch." :> (Capture "epoch_number" Epoch :> ("stakes" :> (Pagination :> Get '[JSON] [StakeDistribution])))))
- _getEpochStakeByPool :: 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]))))))
- _getEpochBlocks :: route :- (Summary "Block distribution" :> (Description "Return the blocks minted for the epoch specified." :> (Capture "epoch_number" Epoch :> ("blocks" :> (Pagination :> (Sorting :> Get '[JSON] [BlockHash]))))))
- _getEpochBlocksByPool :: 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])))))))
- _getEpochProtocolParams :: route :- (Summary "Protocol parameters" :> (Description "Return the protocol parameters for the specified epoch." :> (Capture "epoch_number" Epoch :> ("parameters" :> Get '[JSON] ProtocolParams))))
- data BlocksAPI route = BlocksAPI {
- _latest :: 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)))
- _latestTxs :: route :- (Summary "Latest block transactions" :> (Description "Return the transactions within the latest block." :> ("latest" :> ("txs" :> (Pagination :> (Sorting :> Get '[JSON] [TxHash]))))))
- _latestTxsCBOR :: 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])))))))
- _block :: route :- (Summary "Latest block transactions" :> (Description "Return the transactions within the latest block." :> (Capture "hash_or_number" (Either Integer BlockHash) :> Get '[JSON] Block)))
- __blockSlot :: 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))))
- __blockEpochSlot :: 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))))))
- _blockNext :: 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])))))
- _blockPrevious :: 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])))))
- _blockTxs :: route :- (Summary "Block transactions" :> (Description "Return the transactions within the block." :> (Capture "hash_or_number" (Either Integer BlockHash) :> ("txs" :> (Pagination :> (Sorting :> Get '[JSON] [TxHash]))))))
- _blockTxsCBOR :: 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])))))))
- _blockAffectedAddresses :: 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 = AssetsAPI {
- _listAssets :: route :- (Summary "Assets" :> (Description "List of assets." :> (Pagination :> (Sorting :> Get '[JSON] [AssetInfo]))))
- _assetDetails :: route :- (Summary "Specific asset" :> (Description "Information about a specific asset." :> (Capture "asset" AssetId :> Get '[JSON] AssetDetails)))
- _assetHistory :: route :- (Summary "Asset history" :> (Description "History of a specific asset." :> (Capture "asset" AssetId :> ("history" :> (Pagination :> (Sorting :> Get '[JSON] [AssetHistory]))))))
- _assetTransactions :: route :- (Summary "Asset transactions" :> (Description "List of a specific asset transactions" :> (Capture "asset" AssetId :> ("transactions" :> (Pagination :> (Sorting :> Get '[JSON] [AssetTransaction]))))))
- _assetAddresses :: route :- (Summary "Asset addresses" :> (Description "List of a addresses containing a specific asset" :> (Capture "asset" AssetId :> ("addresses" :> (Pagination :> (Sorting :> Get '[JSON] [AssetAddress]))))))
- _listAssetsPolicy :: 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 = AddressesAPI {
- _addressInfo :: route :- (Summary "Specific address" :> (Description "Obtain information about a specific address." :> (Capture "address" Address :> Get '[JSON] AddressInfo)))
- _addressInfoExtended :: route :- (Summary "Specific address - extended" :> (Description "Obtain extended information about a specific address." :> (Capture "address" Address :> ("extended" :> Get '[JSON] AddressInfoExtended))))
- _addressDetails :: route :- (Summary "Address details" :> (Description "Obtain details about an address." :> (Capture "address" Address :> ("total" :> Get '[JSON] AddressDetails))))
- _addressUtxos :: route :- (Summary "Address UTXOs" :> (Description "UTXOs of the address." :> (Capture "address" Address :> ("utxos" :> (Pagination :> (Sorting :> Get '[JSON] [AddressUtxo]))))))
- _addressUtxosAsset :: 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])))))))
- _addressTransactions :: 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 = AccountsAPI {
- _account :: route :- (Summary "Specific account address" :> (Description "Obtain information about a specific stake account." :> (Capture "stake_address" Address :> Get '[JSON] AccountInfo)))
- _accountRewards :: 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]))))))
- _accountHistory :: route :- (Summary "Account history" :> (Description "Obtain information about the history of a specific account." :> (Capture "stake_address" Address :> ("history" :> (Pagination :> (Sorting :> Get '[JSON] [AccountHistory]))))))
- _accountDelegations :: 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]))))))
- _accountRegistrations :: 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]))))))
- _accountWithdrawals :: 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]))))))
- _accountMirs :: 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]))))))
- _accountAssociatedAddresses :: 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]))))))
- _accountAssociatedAssets :: 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])))))))
- _accountAssociatedTotal :: 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 = Form {}
- data IPFSAPI route = IPFSAPI {
- _add :: 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)))))
- _gateway :: 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)))))
- _pin :: 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))))))
- _listPins :: route :- (Summary "List pinned objects" :> (Description "List objects pinned to local storage." :> (Tag "IPFS \187 Pins" :> ("pin" :> ("list" :> (Pagination :> (Sorting :> Get '[JSON] [IPFSPin])))))))
- _getPin :: 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))))))
- _removePin :: 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 = CommonAPI {
- _getRoot :: route :- (Summary "Root endpoint" :> (Description "Root endpoint has no other function than to point end users to documentation." :> (Tag "Health" :> Get '[JSON] URLVersion)))
- _getHealth :: 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))))
- _getClock :: 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)))))
- _metrics :: route :- (Summary "Blockfrost usage metrics" :> (Description "History of your Blockfrost usage metrics in the past 30 days." :> (Tag "Metrics" :> ("metrics" :> Get '[JSON] [Metric]))))
- _metricsEndpoints :: 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)])))))
- api :: Proxy (ToServantApi BlockfrostAPI)
- api0 :: Proxy (ToServantApi BlockfrostV0API)
- newtype BlockfrostAPI route = BlockfrostAPI {
- _apiV0 :: route :- ("api" :> ("v0" :> (BlockfrostAuth :> (UserAgent :> ToServantApi BlockfrostV0API))))
- type BlockfrostAuth = ProjectAuth '[APIKeyInHeader "project_id"] Project
- data BlockfrostV0API route = BlockfrostV0API {
- _common :: route :- ToServantApi CommonAPI
- _cardano :: route :- ToServantApi CardanoAPI
- _ipfs :: route :- ("ipfs" :> ToServantApi IPFSAPI)
- _nutLink :: route :- ("nutlink" :> (Tag "Nut.link" :> ToServantApi NutLinkAPI))
- data CardanoAPI route = CardanoAPI {
- _accounts :: route :- ("accounts" :> (Tag "Cardano \187 Accounts" :> ToServantApi AccountsAPI))
- _addresses :: route :- ("addresses" :> (Tag "Cardano \187 Addresses" :> ToServantApi AddressesAPI))
- _assets :: route :- ("assets" :> (Tag "Cardano \187 Assets" :> ToServantApi AssetsAPI))
- _blocks :: route :- ("blocks" :> (Tag "Cardano \187 Blocks" :> ToServantApi BlocksAPI))
- _epochs :: route :- ("epochs" :> (Tag "Cardano \187 Epochs" :> ToServantApi EpochsAPI))
- _governance :: route :- ("governance" :> (Tag "Cardano \187 Governance" :> ToServantApi GovernanceAPI))
- _ledger :: route :- ("genesis" :> (Tag "Cardano \187 Ledger" :> ToServantApi LedgerAPI))
- _mempool :: route :- ("mempool" :> (Tag "Cardano \187 Mempool" :> ToServantApi MempoolAPI))
- _metadata :: route :- ("metadata" :> (Tag "Cardano \187 Metadata" :> ToServantApi MetadataAPI))
- _network :: route :- ("network" :> (Tag "Cardano \187 Network" :> ToServantApi NetworkAPI))
- _pools :: route :- ("pools" :> (Tag "Cardano \187 Pools" :> ToServantApi PoolsAPI))
- _scripts :: route :- ("scripts" :> (Tag "Cardano \187 Scripts" :> ToServantApi ScriptsAPI))
- _transactions :: route :- ("txs" :> (Tag "Cardano \187 Transactions" :> ToServantApi TransactionsAPI))
- _txSubmit :: 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))))))
- _utils :: route :- ("utils" :> (Tag "Cardano \187 Utilities" :> ToServantApi UtilsAPI))
- type ServantBlockfrostAPI = ToServantApi BlockfrostAPI
- module Blockfrost.Env
- module Blockfrost.Types
- module Blockfrost.Lens
- module Blockfrost.Client.Core
- module Blockfrost.Client.Types
- getRoot :: MonadBlockfrost m => m URLVersion
- getHealth :: MonadBlockfrost m => m Healthy
- getClock :: MonadBlockfrost m => m ServerTime
- getMetrics :: MonadBlockfrost m => m [Metric]
- getMetricsEndpoints :: MonadBlockfrost m => m [(Text, Metric)]
- getAccount :: MonadBlockfrost m => Address -> m AccountInfo
- getAccountRewards :: MonadBlockfrost m => Address -> m [AccountReward]
- getAccountRewards' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountReward]
- getAccountHistory :: MonadBlockfrost m => Address -> m [AccountHistory]
- getAccountHistory' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountHistory]
- getAccountDelegations :: MonadBlockfrost m => Address -> m [AccountDelegation]
- getAccountDelegations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountDelegation]
- getAccountRegistrations :: MonadBlockfrost m => Address -> m [AccountRegistration]
- getAccountRegistrations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountRegistration]
- getAccountWithdrawals :: MonadBlockfrost m => Address -> m [AccountWithdrawal]
- getAccountWithdrawals' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountWithdrawal]
- getAccountMirs :: MonadBlockfrost m => Address -> m [AccountMir]
- getAccountMirs' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountMir]
- getAccountAssociatedAddresses :: MonadBlockfrost m => Address -> m [AddressAssociated]
- getAccountAssociatedAddresses' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AddressAssociated]
- getAccountAssociatedAddressesTotal :: MonadBlockfrost m => Address -> m AddressAssociatedTotal
- getAccountAssociatedAssets :: MonadBlockfrost m => Address -> m [Amount]
- getAccountAssociatedAssets' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [Amount]
- getAddressInfo :: MonadBlockfrost m => Address -> m AddressInfo
- getAddressInfoExtended :: MonadBlockfrost m => Address -> m AddressInfoExtended
- getAddressDetails :: MonadBlockfrost m => Address -> m AddressDetails
- getAddressUtxos :: MonadBlockfrost m => Address -> m [AddressUtxo]
- getAddressUtxos' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AddressUtxo]
- getAddressUtxosAsset :: MonadBlockfrost m => Address -> AssetId -> m [AddressUtxo]
- getAddressUtxosAsset' :: MonadBlockfrost m => Address -> AssetId -> Paged -> SortOrder -> m [AddressUtxo]
- getAddressTransactions :: MonadBlockfrost m => Address -> m [AddressTransaction]
- getAddressTransactions' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> Maybe BlockIndex -> Maybe BlockIndex -> m [AddressTransaction]
- getAssets :: MonadBlockfrost m => m [AssetInfo]
- getAssets' :: MonadBlockfrost m => Paged -> SortOrder -> m [AssetInfo]
- getAssetDetails :: MonadBlockfrost m => AssetId -> m AssetDetails
- getAssetHistory :: MonadBlockfrost m => AssetId -> m [AssetHistory]
- getAssetHistory' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetHistory]
- getAssetTransactions :: MonadBlockfrost m => AssetId -> m [AssetTransaction]
- getAssetTransactions' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetTransaction]
- getAssetAddresses :: MonadBlockfrost m => AssetId -> m [AssetAddress]
- getAssetAddresses' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetAddress]
- getAssetsByPolicy :: MonadBlockfrost m => PolicyId -> m [AssetInfo]
- getAssetsByPolicy' :: MonadBlockfrost m => PolicyId -> Paged -> SortOrder -> m [AssetInfo]
- getLatestBlock :: MonadBlockfrost m => m Block
- getLatestBlockTxs :: MonadBlockfrost m => m [TxHash]
- getLatestBlockTxs' :: MonadBlockfrost m => Paged -> SortOrder -> m [TxHash]
- getLatestBlockTxsCBOR :: MonadBlockfrost m => m [TxHashCBOR]
- getLatestBlockTxsCBOR' :: MonadBlockfrost m => Paged -> SortOrder -> m [TxHashCBOR]
- getBlock :: MonadBlockfrost m => Either Integer BlockHash -> m Block
- getBlockSlot :: MonadBlockfrost m => Slot -> m Block
- getBlockEpochSlot :: MonadBlockfrost m => Epoch -> Slot -> m Block
- getNextBlocks :: MonadBlockfrost m => Either Integer BlockHash -> m [Block]
- getNextBlocks' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [Block]
- getPreviousBlocks :: MonadBlockfrost m => Either Integer BlockHash -> m [Block]
- getPreviousBlocks' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [Block]
- getBlockTxs :: MonadBlockfrost m => Either Integer BlockHash -> m [TxHash]
- getBlockTxs' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> SortOrder -> m [TxHash]
- getBlockTxsCBOR :: MonadBlockfrost m => Either Integer BlockHash -> m [TxHashCBOR]
- getBlockTxsCBOR' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> SortOrder -> m [TxHashCBOR]
- getBlockAffectedAddresses' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> m [(Address, [TxHash])]
- getBlockAffectedAddresses :: MonadBlockfrost m => Either Integer BlockHash -> m [(Address, [TxHash])]
- getLatestEpoch :: MonadBlockfrost m => m EpochInfo
- getLatestEpochProtocolParams :: MonadBlockfrost m => m ProtocolParams
- getEpoch :: MonadBlockfrost m => Epoch -> m EpochInfo
- getNextEpochs :: MonadBlockfrost m => Epoch -> m [EpochInfo]
- getNextEpochs' :: MonadBlockfrost m => Epoch -> Paged -> m [EpochInfo]
- getPreviousEpochs :: MonadBlockfrost m => Epoch -> m [EpochInfo]
- getPreviousEpochs' :: MonadBlockfrost m => Epoch -> Paged -> m [EpochInfo]
- getEpochStake :: MonadBlockfrost m => Epoch -> m [StakeDistribution]
- getEpochStake' :: MonadBlockfrost m => Epoch -> Paged -> m [StakeDistribution]
- getEpochStakeByPool :: MonadBlockfrost m => Epoch -> PoolId -> m [PoolStakeDistribution]
- getEpochStakeByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> m [PoolStakeDistribution]
- getEpochBlocks :: MonadBlockfrost m => Epoch -> m [BlockHash]
- getEpochBlocks' :: MonadBlockfrost m => Epoch -> Paged -> SortOrder -> m [BlockHash]
- getEpochBlocksByPool :: MonadBlockfrost m => Epoch -> PoolId -> m [BlockHash]
- getEpochBlocksByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> SortOrder -> m [BlockHash]
- getEpochProtocolParams :: MonadBlockfrost m => Epoch -> m ProtocolParams
- getDReps :: MonadBlockfrost m => m [DRep]
- getDReps' :: MonadBlockfrost m => Paged -> SortOrder -> m [DRep]
- getDRep :: MonadBlockfrost m => DRepId -> m DRepInfo
- getDRepDelegators :: MonadBlockfrost m => DRepId -> m [DRepDelegator]
- getDRepDelegators' :: MonadBlockfrost m => DRepId -> Paged -> SortOrder -> m [DRepDelegator]
- getDRepMetadata :: MonadBlockfrost m => DRepId -> m DRepMeta
- getDRepUpdates :: MonadBlockfrost m => DRepId -> m [DRepUpdate]
- getDRepUpdates' :: MonadBlockfrost m => DRepId -> Paged -> SortOrder -> m [DRepUpdate]
- getDRepVotes :: MonadBlockfrost m => DRepId -> m [DRepVote]
- getDRepVotes' :: MonadBlockfrost m => DRepId -> Paged -> SortOrder -> m [DRepVote]
- getProposals :: MonadBlockfrost m => m [Proposal]
- getProposals' :: MonadBlockfrost m => Paged -> SortOrder -> m [Proposal]
- getProposal :: MonadBlockfrost m => TxHash -> Integer -> m ProposalInfo
- getParamProposal :: MonadBlockfrost m => TxHash -> Integer -> m ParamProposal
- getWithdrawalProposal :: MonadBlockfrost m => TxHash -> Integer -> m [WithdrawalProposal]
- getProposalVotes :: MonadBlockfrost m => TxHash -> Integer -> m [ProposalVote]
- getProposalVotes' :: MonadBlockfrost m => TxHash -> Integer -> Paged -> SortOrder -> m [ProposalVote]
- getProposalMetadata :: MonadBlockfrost m => TxHash -> Integer -> m ProposalMeta
- getLedgerGenesis :: MonadBlockfrost m => m Genesis
- getTxMetadataLabels :: MonadBlockfrost m => m [TxMeta]
- getTxMetadataLabels' :: MonadBlockfrost m => Paged -> SortOrder -> m [TxMeta]
- getTxMetadataByLabelJSON :: MonadBlockfrost m => Text -> m [TxMetaJSON]
- getTxMetadataByLabelJSON' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [TxMetaJSON]
- getTxMetadataByLabelCBOR :: MonadBlockfrost m => Text -> m [TxMetaCBOR]
- getTxMetadataByLabelCBOR' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [TxMetaCBOR]
- getMempoolTransactions :: MonadBlockfrost m => Project -> Paged -> SortOrder -> m [TxHashObject]
- getMempoolTransaction :: MonadBlockfrost m => Project -> TxHash -> m MempoolTransaction
- getMempoolTransactionsByAddress :: MonadBlockfrost m => Project -> Address -> Paged -> SortOrder -> m [TxHashObject]
- getNetworkInfo :: MonadBlockfrost m => m Network
- getNetworkEras :: MonadBlockfrost m => m [NetworkEraSummary]
- listPools :: MonadBlockfrost m => m [PoolId]
- listPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolId]
- listPoolsExtended :: MonadBlockfrost m => m [Pool]
- listPoolsExtended' :: MonadBlockfrost m => Paged -> SortOrder -> m [Pool]
- listRetiredPools :: MonadBlockfrost m => m [PoolEpoch]
- listRetiredPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolEpoch]
- listRetiringPools :: MonadBlockfrost m => m [PoolEpoch]
- listRetiringPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolEpoch]
- getPool :: MonadBlockfrost m => PoolId -> m PoolInfo
- getPoolHistory :: MonadBlockfrost m => PoolId -> m [PoolHistory]
- getPoolHistory' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolHistory]
- getPoolMetadata :: MonadBlockfrost m => PoolId -> m (Maybe PoolMetadata)
- getPoolRelays :: MonadBlockfrost m => PoolId -> m [PoolRelay]
- getPoolDelegators :: MonadBlockfrost m => PoolId -> m [PoolDelegator]
- getPoolDelegators' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolDelegator]
- getPoolBlocks :: MonadBlockfrost m => PoolId -> m [BlockHash]
- getPoolBlocks' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [BlockHash]
- getPoolUpdates :: MonadBlockfrost m => PoolId -> m [PoolUpdate]
- getPoolUpdates' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolUpdate]
- listScripts :: MonadBlockfrost m => m ScriptHashList
- listScripts' :: MonadBlockfrost m => Paged -> SortOrder -> m ScriptHashList
- getScript :: MonadBlockfrost m => ScriptHash -> m Script
- getScriptRedeemers :: MonadBlockfrost m => ScriptHash -> m [ScriptRedeemer]
- getScriptRedeemers' :: MonadBlockfrost m => ScriptHash -> Paged -> SortOrder -> m [ScriptRedeemer]
- getScriptDatum :: MonadBlockfrost m => DatumHash -> m ScriptDatum
- getScriptDatumCBOR :: MonadBlockfrost m => DatumHash -> m ScriptDatumCBOR
- getScriptJSON :: MonadBlockfrost m => ScriptHash -> m ScriptJSON
- getScriptCBOR :: MonadBlockfrost m => ScriptHash -> m ScriptCBOR
- getTx :: MonadBlockfrost m => TxHash -> m Transaction
- getTxUtxos :: MonadBlockfrost m => TxHash -> m TransactionUtxos
- getTxStakes :: MonadBlockfrost m => TxHash -> m [TransactionStake]
- getTxDelegations :: MonadBlockfrost m => TxHash -> m [TransactionDelegation]
- getTxWithdrawals :: MonadBlockfrost m => TxHash -> m [TransactionWithdrawal]
- getTxMirs :: MonadBlockfrost m => TxHash -> m [TransactionMir]
- getTxPoolUpdates :: MonadBlockfrost m => TxHash -> m [TransactionPoolUpdate]
- getTxPoolRetiring :: MonadBlockfrost m => TxHash -> m [TransactionPoolRetiring]
- getTxMetadataJSON :: MonadBlockfrost m => TxHash -> m [TransactionMetaJSON]
- getTxCBOR :: MonadBlockfrost m => TxHash -> m TransactionCBOR
- getTxMetadataCBOR :: MonadBlockfrost m => TxHash -> m [TransactionMetaCBOR]
- getTxRedeemers :: MonadBlockfrost m => TxHash -> m [TransactionRedeemer]
- submitTx :: MonadBlockfrost m => CBORString -> m TxHash
- deriveShelleyAddress :: MonadBlockfrost m => Text -> Integer -> Integer -> m DerivedAddress
- txEvaluate :: MonadBlockfrost m => CBORString -> m TxEval
- txEvaluateUTXOs :: MonadBlockfrost m => TxEvalInput -> m TxEval
- ipfsAdd :: (MonadError BlockfrostError m, MonadBlockfrost m) => FilePath -> m IPFSAdd
- ipfsGateway :: MonadBlockfrost m => Text -> m IPFSData
- ipfsGetPin :: MonadBlockfrost m => Text -> m IPFSPin
- ipfsListPins :: MonadBlockfrost m => m [IPFSPin]
- ipfsListPins' :: MonadBlockfrost m => Paged -> SortOrder -> m [IPFSPin]
- ipfsPin :: MonadBlockfrost m => Text -> m IPFSPinChange
- ipfsRemovePin :: MonadBlockfrost m => Text -> m IPFSPinChange
- nutlinkListAddress :: MonadBlockfrost m => Address -> m NutlinkAddress
- nutlinkListAddressTickers :: MonadBlockfrost m => Address -> m [NutlinkAddressTicker]
- nutlinkListAddressTickers' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [NutlinkAddressTicker]
- nutlinkAddressTickers :: MonadBlockfrost m => Address -> Text -> m [NutlinkTicker]
- nutlinkAddressTickers' :: MonadBlockfrost m => Address -> Text -> Paged -> SortOrder -> m [NutlinkTicker]
- nutlinkTickers :: MonadBlockfrost m => Text -> m [(Address, NutlinkTicker)]
- nutlinkTickers' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [(Address, NutlinkTicker)]
Documentation
Constructors
Project | |
Fields
|
Instances
data NutLinkAPI route #
Constructors
NutLinkAPI | |
Fields
|
Instances
Generic (NutLinkAPI route) | |||||
Defined in Blockfrost.API.NutLink Associated Types
Methods from :: NutLinkAPI route -> Rep (NutLinkAPI route) x # to :: Rep (NutLinkAPI route) x -> NutLinkAPI route # | |||||
type Rep (NutLinkAPI route) | |||||
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
Generic (TransactionsAPI route) | |||||
Defined in Blockfrost.API.Cardano.Transactions Associated Types
Methods from :: TransactionsAPI route -> Rep (TransactionsAPI route) x # to :: Rep (TransactionsAPI route) x -> TransactionsAPI route # | |||||
type Rep (TransactionsAPI route) | |||||
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
Generic (NetworkAPI route) | |||||
Defined in Blockfrost.API.Cardano.Network Associated Types
Methods from :: NetworkAPI route -> Rep (NetworkAPI route) x # to :: Rep (NetworkAPI route) x -> NetworkAPI route # | |||||
type Rep (NetworkAPI route) | |||||
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]))))))) |
Constructors
LedgerAPI | |
Instances
Generic (LedgerAPI route) | |||||
Defined in Blockfrost.API.Cardano.Ledger Associated Types
| |||||
type Rep (LedgerAPI route) | |||||
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)))))) |
Constructors
UtilsAPI | |
Fields
|
Instances
Generic (UtilsAPI route) | |||||
Defined in Blockfrost.API.Cardano.Utils Associated Types
| |||||
type Rep (UtilsAPI route) | |||||
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
Generic (ScriptsAPI route) | |||||
Defined in Blockfrost.API.Cardano.Scripts Associated Types
Methods from :: ScriptsAPI route -> Rep (ScriptsAPI route) x # to :: Rep (ScriptsAPI route) x -> ScriptsAPI route # | |||||
type Rep (ScriptsAPI route) | |||||
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)))))))))) |
Constructors
PoolsAPI | |
Fields
|
Instances
Generic (PoolsAPI route) | |||||
Defined in Blockfrost.API.Cardano.Pools Associated Types
| |||||
type Rep (PoolsAPI route) | |||||
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
Generic (MetadataAPI route) | |||||
Defined in Blockfrost.API.Cardano.Metadata Associated Types
Methods from :: MetadataAPI route -> Rep (MetadataAPI route) x # to :: Rep (MetadataAPI route) x -> MetadataAPI route # | |||||
type Rep (MetadataAPI route) | |||||
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
Generic (MempoolAPI route) | |||||
Defined in Blockfrost.API.Cardano.Mempool Associated Types
Methods from :: MempoolAPI route -> Rep (MempoolAPI route) x # to :: Rep (MempoolAPI route) x -> MempoolAPI route # | |||||
type Rep (MempoolAPI route) | |||||
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
Generic (GovernanceAPI route) | |||||
Defined in Blockfrost.API.Cardano.Governance Associated Types
Methods from :: GovernanceAPI route -> Rep (GovernanceAPI route) x # to :: Rep (GovernanceAPI route) x -> GovernanceAPI route # | |||||
type Rep (GovernanceAPI route) | |||||
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))))))))))))) |
Constructors
EpochsAPI | |
Fields
|
Instances
Generic (EpochsAPI route) | |||||
Defined in Blockfrost.API.Cardano.Epochs Associated Types
| |||||
type Rep (EpochsAPI route) | |||||
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))))))))))) |
Constructors
BlocksAPI | |
Fields
|
Instances
Generic (BlocksAPI route) | |||||
Defined in Blockfrost.API.Cardano.Blocks Associated Types
| |||||
type Rep (BlocksAPI route) | |||||
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])])))))))))))) |
Constructors
AssetsAPI | |
Fields
|
Instances
Generic (AssetsAPI route) | |||||
Defined in Blockfrost.API.Cardano.Assets Associated Types
| |||||
type Rep (AssetsAPI route) | |||||
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
Generic (AddressesAPI route) | |||||
Defined in Blockfrost.API.Cardano.Addresses Associated Types
Methods from :: AddressesAPI route -> Rep (AddressesAPI route) x # to :: Rep (AddressesAPI route) x -> AddressesAPI route # | |||||
type Rep (AddressesAPI route) | |||||
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
Generic (AccountsAPI route) | |||||
Defined in Blockfrost.API.Cardano.Accounts Associated Types
Methods from :: AccountsAPI route -> Rep (AccountsAPI route) x # to :: Rep (AccountsAPI route) x -> AccountsAPI route # | |||||
type Rep (AccountsAPI route) | |||||
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)))))))))))) |
Constructors
Form | |
Fields
|
Constructors
IPFSAPI | |
Fields
|
Instances
Generic (IPFSAPI route) | |||||
Defined in Blockfrost.API.IPFS Associated Types
| |||||
type Rep (IPFSAPI route) | |||||
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)))))))))))) |
Constructors
CommonAPI | |
Fields
|
Instances
Generic (CommonAPI route) | |||||
Defined in Blockfrost.API.Common Associated Types
| |||||
type Rep (CommonAPI route) | |||||
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)]))))))))))) |
api :: Proxy (ToServantApi BlockfrostAPI) #
newtype BlockfrostAPI route #
Constructors
BlockfrostAPI | |
Fields
|
Instances
Generic (BlockfrostAPI route) | |||||
Defined in Blockfrost.API Associated Types
Methods from :: BlockfrostAPI route -> Rep (BlockfrostAPI route) x # to :: Rep (BlockfrostAPI route) x -> BlockfrostAPI route # | |||||
type Rep (BlockfrostAPI route) | |||||
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)))))))) |
type BlockfrostAuth = ProjectAuth '[APIKeyInHeader "project_id"] Project #
data BlockfrostV0API route #
Constructors
BlockfrostV0API | |
Fields
|
Instances
Generic (BlockfrostV0API route) | |||||
Defined in Blockfrost.API Associated Types
Methods from :: BlockfrostV0API route -> Rep (BlockfrostV0API route) x # to :: Rep (BlockfrostV0API route) x -> BlockfrostV0API route # | |||||
type Rep (BlockfrostV0API route) | |||||
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
Generic (CardanoAPI route) | |||||
Defined in Blockfrost.API Associated Types
Methods from :: CardanoAPI route -> Rep (CardanoAPI route) x # to :: Rep (CardanoAPI route) x -> CardanoAPI route # | |||||
type Rep (CardanoAPI route) | |||||
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))))))))) |
module Blockfrost.Env
module Blockfrost.Types
module Blockfrost.Lens
module Blockfrost.Client.Core
module Blockfrost.Client.Types
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 #
getAccountRewards' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountReward] Source #
getAccountHistory :: MonadBlockfrost m => Address -> m [AccountHistory] Source #
getAccountHistory' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountHistory] Source #
getAccountDelegations :: MonadBlockfrost m => Address -> m [AccountDelegation] Source #
getAccountDelegations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountDelegation] Source #
getAccountRegistrations :: MonadBlockfrost m => Address -> m [AccountRegistration] Source #
getAccountRegistrations' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountRegistration] Source #
getAccountWithdrawals :: MonadBlockfrost m => Address -> m [AccountWithdrawal] Source #
getAccountWithdrawals' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountWithdrawal] Source #
getAccountMirs :: MonadBlockfrost m => Address -> m [AccountMir] Source #
getAccountMirs' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AccountMir] Source #
getAccountAssociatedAddresses :: MonadBlockfrost m => Address -> m [AddressAssociated] Source #
getAccountAssociatedAddresses' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AddressAssociated] Source #
getAccountAssociatedAddressesTotal :: MonadBlockfrost m => Address -> m AddressAssociatedTotal Source #
getAccountAssociatedAssets :: MonadBlockfrost m => Address -> m [Amount] Source #
getAccountAssociatedAssets' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [Amount] Source #
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 #
getAddressUtxos' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> m [AddressUtxo] Source #
getAddressUtxosAsset :: MonadBlockfrost m => Address -> AssetId -> m [AddressUtxo] Source #
getAddressUtxosAsset' :: MonadBlockfrost m => Address -> AssetId -> Paged -> SortOrder -> m [AddressUtxo] Source #
getAddressTransactions :: MonadBlockfrost m => Address -> m [AddressTransaction] Source #
getAddressTransactions' :: MonadBlockfrost m => Address -> Paged -> SortOrder -> Maybe BlockIndex -> Maybe BlockIndex -> m [AddressTransaction] Source #
getAssets :: MonadBlockfrost m => m [AssetInfo] Source #
getAssets' :: MonadBlockfrost m => Paged -> SortOrder -> m [AssetInfo] Source #
getAssetDetails :: MonadBlockfrost m => AssetId -> m AssetDetails Source #
Information about a specific asset
getAssetHistory :: MonadBlockfrost m => AssetId -> m [AssetHistory] Source #
getAssetHistory' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetHistory] Source #
getAssetTransactions :: MonadBlockfrost m => AssetId -> m [AssetTransaction] Source #
getAssetTransactions' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetTransaction] Source #
getAssetAddresses :: MonadBlockfrost m => AssetId -> m [AssetAddress] Source #
getAssetAddresses' :: MonadBlockfrost m => AssetId -> Paged -> SortOrder -> m [AssetAddress] Source #
getAssetsByPolicy :: MonadBlockfrost m => PolicyId -> m [AssetInfo] Source #
getAssetsByPolicy' :: MonadBlockfrost m => PolicyId -> Paged -> SortOrder -> m [AssetInfo] Source #
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 #
getLatestBlockTxs' :: MonadBlockfrost m => Paged -> SortOrder -> m [TxHash] Source #
getLatestBlockTxsCBOR :: MonadBlockfrost m => m [TxHashCBOR] Source #
getLatestBlockTxsCBOR' :: MonadBlockfrost m => Paged -> SortOrder -> m [TxHashCBOR] Source #
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 #
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 #
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 #
getBlockTxs' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> SortOrder -> m [TxHash] Source #
getBlockTxsCBOR :: MonadBlockfrost m => Either Integer BlockHash -> m [TxHashCBOR] Source #
getBlockTxsCBOR' :: MonadBlockfrost m => Either Integer BlockHash -> Paged -> SortOrder -> m [TxHashCBOR] Source #
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 #
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 #
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 #
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 #
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 #
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 #
getEpochBlocks' :: MonadBlockfrost m => Epoch -> Paged -> SortOrder -> m [BlockHash] Source #
getEpochBlocksByPool :: MonadBlockfrost m => Epoch -> PoolId -> m [BlockHash] Source #
getEpochBlocksByPool' :: MonadBlockfrost m => Epoch -> PoolId -> Paged -> SortOrder -> m [BlockHash] Source #
getEpochProtocolParams :: MonadBlockfrost m => Epoch -> m ProtocolParams Source #
Return the protocol parameters for the specified epoch.
getDReps :: MonadBlockfrost m => m [DRep] Source #
getDRep :: MonadBlockfrost m => DRepId -> m DRepInfo Source #
Return the information about specific Delegate Representative (DRep).
getDRepDelegators :: MonadBlockfrost m => DRepId -> m [DRepDelegator] Source #
getDRepDelegators' :: MonadBlockfrost m => DRepId -> Paged -> SortOrder -> m [DRepDelegator] Source #
getDRepMetadata :: MonadBlockfrost m => DRepId -> m DRepMeta Source #
Get DRep metadata information.
getDRepUpdates :: MonadBlockfrost m => DRepId -> m [DRepUpdate] Source #
getDRepUpdates' :: MonadBlockfrost m => DRepId -> Paged -> SortOrder -> m [DRepUpdate] Source #
getDRepVotes :: MonadBlockfrost m => DRepId -> m [DRepVote] Source #
getDRepVotes' :: MonadBlockfrost m => DRepId -> Paged -> SortOrder -> m [DRepVote] Source #
getProposals :: MonadBlockfrost m => m [Proposal] Source #
getProposals' :: MonadBlockfrost m => Paged -> SortOrder -> m [Proposal] Source #
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 #
getProposalVotes' :: MonadBlockfrost m => TxHash -> Integer -> Paged -> SortOrder -> m [ProposalVote] Source #
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 #
getTxMetadataLabels' :: MonadBlockfrost m => Paged -> SortOrder -> m [TxMeta] Source #
getTxMetadataByLabelJSON :: MonadBlockfrost m => Text -> m [TxMetaJSON] Source #
getTxMetadataByLabelJSON' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [TxMetaJSON] Source #
getTxMetadataByLabelCBOR :: MonadBlockfrost m => Text -> m [TxMetaCBOR] Source #
getTxMetadataByLabelCBOR' :: MonadBlockfrost m => Text -> Paged -> SortOrder -> m [TxMetaCBOR] Source #
getMempoolTransactions :: MonadBlockfrost m => Project -> Paged -> SortOrder -> m [TxHashObject] Source #
getMempoolTransaction :: MonadBlockfrost m => Project -> TxHash -> m MempoolTransaction Source #
getMempoolTransactionsByAddress :: MonadBlockfrost m => Project -> Address -> Paged -> SortOrder -> m [TxHashObject] Source #
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 #
listPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolId] Source #
listPoolsExtended :: MonadBlockfrost m => m [Pool] Source #
listPoolsExtended' :: MonadBlockfrost m => Paged -> SortOrder -> m [Pool] Source #
listRetiredPools :: MonadBlockfrost m => m [PoolEpoch] Source #
listRetiredPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolEpoch] Source #
listRetiringPools :: MonadBlockfrost m => m [PoolEpoch] Source #
listRetiringPools' :: MonadBlockfrost m => Paged -> SortOrder -> m [PoolEpoch] Source #
getPoolHistory :: MonadBlockfrost m => PoolId -> m [PoolHistory] Source #
getPoolHistory' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolHistory] Source #
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 #
getPoolDelegators' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolDelegator] Source #
getPoolBlocks :: MonadBlockfrost m => PoolId -> m [BlockHash] Source #
getPoolBlocks' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [BlockHash] Source #
getPoolUpdates :: MonadBlockfrost m => PoolId -> m [PoolUpdate] Source #
getPoolUpdates' :: MonadBlockfrost m => PoolId -> Paged -> SortOrder -> m [PoolUpdate] Source #
listScripts :: MonadBlockfrost m => m ScriptHashList Source #
listScripts' :: MonadBlockfrost m => Paged -> SortOrder -> m ScriptHashList Source #
getScript :: MonadBlockfrost m => ScriptHash -> m Script Source #
Get specific script information
getScriptRedeemers :: MonadBlockfrost m => ScriptHash -> m [ScriptRedeemer] Source #
getScriptRedeemers' :: MonadBlockfrost m => ScriptHash -> Paged -> SortOrder -> m [ScriptRedeemer] Source #
getScriptDatum :: MonadBlockfrost m => DatumHash -> m ScriptDatum Source #
Get specific datum
getScriptDatumCBOR :: MonadBlockfrost m => DatumHash -> m ScriptDatumCBOR Source #
Get specific datum
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.
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
.