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

Blockfrost.Client.Cardano.Governance

Description

Governance queries

Synopsis

Documentation

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

Return the information about Delegate Representatives (DReps).

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

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

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

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

Return the information about specific Delegate Representative (DRep).

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

Get a list of DRep delegators

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

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

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

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

Get DRep metadata information.

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

Get a list of certificate updates to the DRep.

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

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

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

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

Get a history of DReps votes.

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

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

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

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

Get a history of DReps proposals.

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

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

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

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

Get a proposal details.

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

Get a parameter proposal details.

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

Get a witdhrawal proposal details.

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

Get a history of DReps proposals.

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

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

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

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

Get a parameter proposal details.