Skip to main content

GovV1Params

Params queries all parameters of the gov module.

Path Parameters
    params_type string required

    params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".

Responses

A successful response.


Schema
    voting_params object

    Deprecated: Prefer to use params instead. voting_params defines the parameters related to voting.

    voting_period string

    Duration of the voting period.

    deposit_params object

    Deprecated: Prefer to use params instead. deposit_params defines the parameters related to deposit.

    min_deposit object[]

    Minimum deposit for a proposal to enter voting period.

  • Array [
  • denom string
    amount string
  • ]
  • max_deposit_period string

    Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months.

    tally_params object

    Deprecated: Prefer to use params instead. tally_params defines the parameters related to tally.

    quorum string

    Minimum percentage of total stake needed to vote for a result to be considered valid.

    threshold string

    Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.

    veto_threshold string

    Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3.

    params object

    params defines all the paramaters of x/gov module.

    Since: cosmos-sdk 0.47

    min_deposit object[]

    Minimum deposit for a proposal to enter voting period.

  • Array [
  • denom string
    amount string
  • ]
  • max_deposit_period string

    Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months.

    voting_period string

    Duration of the voting period.

    quorum string

    Minimum percentage of total stake needed to vote for a result to be considered valid.

    threshold string

    Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.

    veto_threshold string

    Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3.

    min_initial_deposit_ratio string

    The ratio representing the proportion of the deposit value that must be paid at proposal submission.

    burn_vote_quorum burn deposits if a proposal does not meet quorum
    burn_proposal_deposit_prevote burn deposits if the proposal does not enter voting period
    burn_vote_veto burn deposits if quorum with vote type no_veto is met
Loading...