Blockfrost.Cardano.Epochs (Blockfrost v0.1.1) View Source
Functions for to the /epochs namespace in the Blockfrost API
Link to this section Summary
Functions
Return the blocks minted for the epoch specified.
Return the block minted for the epoch specified by stake pool.
Return the information about the latest, therefore current, epoch
Return the protocol parameters for the latest epoch
Return the list of epochs following a specific epoch.
Return the list of epochs preceding a specific epoch.
Return the protocol parameters for the epoch specified.
Return the content of the requested epoch
Return the active stake distribution for the specified epoch.
Return the active stake distribution for the epoch specified by stake pool.
Link to this section Functions
Specs
block_distribution(Blockfrost.t(), String.t(), Keyword.t()) :: {:ok, Blockfrost.Response.BlockDistributionResponse.t()} | Blockfrost.HTTP.error_response()
Return the blocks minted for the epoch specified.
Supports pagination.
block_distribution_by_pool(name, epoch_number, pool_id, opts \\ [])
View SourceReturn the block minted for the epoch specified by stake pool.
Supports pagination.
Specs
latest_epoch(Blockfrost.t(), Keyword.t()) :: {:ok, Blockfrost.Response.LatestEpochResponse.t()} | Blockfrost.HTTP.error_response()
Return the information about the latest, therefore current, epoch
Specs
latest_epoch_protocol_parameters(Blockfrost.t(), Keyword.t()) :: {:ok, Blockfrost.Response.LatestEpochProtocolParametersResponse.t()} | Blockfrost.HTTP.error_response()
Return the protocol parameters for the latest epoch
Specs
listing_of_next_epochs(Blockfrost.t(), String.t(), Keyword.t()) :: {:ok, Blockfrost.Response.ListingOfNextEpochsResponse.t()} | Blockfrost.HTTP.error_response()
Return the list of epochs following a specific epoch.
Supports pagination.
Specs
listing_of_previous_epochs(Blockfrost.t(), String.t(), Keyword.t()) :: {:ok, Blockfrost.Response.ListingOfPreviousEpochsResponse.t()} | Blockfrost.HTTP.error_response()
Return the list of epochs preceding a specific epoch.
Supports pagination.
Specs
protocol_parameters(Blockfrost.t(), String.t(), Keyword.t()) :: {:ok, Blockfrost.Response.ProtocolParametersResponse.t()} | Blockfrost.HTTP.error_response()
Return the protocol parameters for the epoch specified.
Specs
specific_epoch(Blockfrost.t(), String.t(), Keyword.t()) :: {:ok, Blockfrost.Response.SpecificEpochResponse.t()} | Blockfrost.HTTP.error_response()
Return the content of the requested epoch
Specs
stake_distribution(Blockfrost.t(), String.t(), Keyword.t()) :: {:ok, Blockfrost.Response.StakeDistributionResponse.t()} | Blockfrost.HTTP.error_response()
Return the active stake distribution for the specified epoch.
Supports pagination.
stake_distribution_by_pool(name, epoch_number, pool_id, opts \\ [])
View SourceSpecs
stake_distribution_by_pool(Blockfrost.t(), String.t(), String.t(), Keyword.t()) :: {:ok, Blockfrost.Response.StakeDistributionByPoolResponse.t()} | Blockfrost.HTTP.error_response()
Return the active stake distribution for the epoch specified by stake pool.
Supports pagination.