package
1.23.6
Repository: https://github.com/emerishq/demeris-api-server.git
Documentation: pkg.go.dev

# Functions

GetAnnualProvisions returns the annual provisions of a specific chain @Summary Gets the annual provisions of a chain @Description Gets annual provisions @Tags Chain @ID get-annual-provisions @Produce json @Success 200 {object} json.RawMessage @Failure 500,403 {object} apierrors.UserFacingError @Router /chain/{chainName}/mint/annual_provisions [get].
GetBudgetParams returns the budget params of a specific chain @Summary Gets the budget params of a chain @Description Gets budget params https://github.com/tendermint/budget/blob/main/x/budget/spec/01_concepts.md @Tags Chain @ID get-budget-params @Produce json @Success 200 {object} json.RawMessage @Failure 500,403 {object} apierrors.UserFacingError @Router /chain/{chainName}/budget/params [get].
GetChain returns chain information by specifying its name.
GetChainBech32Config returns bech32 configuration for a chain by specifying its name.
GetChainMiddleware the chain from the database and sets its cns.Chain definition into the context.
GetChains returns the list of all the chains supported by demeris.
GetChainsStatuses returns the status of all the enabled chains.
GetChainStatus returns the status of a given chain.
GetChainSupply returns the total supply of a given chain.
GetChainTx returns the tx info of a given chain.
GetDenomSupply returns the total supply of a given denom.
GetDistributionParams returns the distribution params of a specific chain @Summary Gets the ditribution params of a chain @Description Gets distribution params https://docs.cosmos.network/main/modules/distribution/ @Tags Chain @ID get-distribution-params @Produce json @Success 200 {object} json.RawMessage @Failure 500,403 {object} apierrors.UserFacingError @Router /chain/{chainName}/distribution/params [get].
GetEpochProvisions returns the epoch provisions of a specific chain @Summary Gets the epoch provisions of a chain @Description Gets epoch provisions @Tags Chain @ID get-epoch-provisions @Produce json @Success 200 {object} json.RawMessage @Failure 400 {object} apierrors.UserFacingError @Router /chain/{chainName}/mint/epoch_provisions [get].
GetFee returns the fee average in dollar for the specified chain.
GetFeeAddress returns the fee address for a given chain, looked up by the chain name attribute.
GetFeeAddresses returns the fee address for all chains.
GetFeeToken returns the fee token for a given chain, looked up by the chain name attribute.
GetInflation returns the inflation of a specific chain @Summary Gets the inflation of a chain @Description Gets inflation @Tags Chain @ID get-inflation @Produce json @Success 200 {object} json.RawMessage @Failure 500,403 {object} apierrors.UserFacingError @Router /chain/{chainName}/mint/inflation [get].
GetMintParams returns the minting parameters of a specific chain @Summary Gets the minting params of a chain @Description Gets minting params @Tags Chain @ID get-mint-params @Produce json @Success 200 {object} json.RawMessage @Failure 500,403 {object} apierrors.UserFacingError @Router /chain/{chainName}/mint/params [get].
GetNumbersByAddress returns sequence and account number of an address.
GetPrimaryChannels returns the primary channels of a chain.
GetPrimaryChannelWithCounterparty returns the primary channel of a chain by specifying the counterparty.
GetStakingParams returns the staking parameters of a specific chain @Summary Gets the staking parameters of a chain @Description Gets staking parameters @Tags Chain @ID get-staking-params @Produce json @Success 200 {object} json.RawMessage @Failure 400 {object} apierrors.UserFacingError @Router /chain/{chainName}/staking/params [get].
GetStakingPool returns the staking pool of a specific chain @Summary Gets the staking pool of a chain @Description Gets staking pool @Tags Chain @ID get-staking-pool @Produce json @Success 200 {object} json.RawMessage @Failure 400 {object} apierrors.UserFacingError @Router /chain/{chainName}/staking/pool [get].
GetValidators returns the list of validators.
No description provided by the author
No description provided by the author
No description provided by the author
RequireChainEnabled checks if the chain exists and it's enabled in the database, if it's not it returns an error to the user.
VerifyTrace verifies that a trace hash is valid against a chain name.

# Constants

No description provided by the author
No description provided by the author

# Structs

nolint :ditto.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
nolint :ditto.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

IBCDenomHash represents the hash of an IBC denom.