Get a governance proposal by id

get/api/v1/gov/proposal/{id}

Path parameters

idinteger required

Proposal id

Response

A Governance proposal.

idnumber required
contentstring required
type'default' | 'defaultWithWasm' | 'pgfSteward' | 'pgfFunding' required
tallyType'twoFifths' | 'oneHalfOverOneThird' | 'lessOneHalfOverOneThirdNay' required
datastring
authorstring required
startEpochnumber required
endEpochnumber required
activationEpochnumber required
startTimestring required
endTimestring required
currentTimestring required
activationTimestring required
status'pending' | 'voting' | 'passed' | 'rejected' | 'executedPassed' | 'executedRejected' required
yayVotesnumber float required
nayVotesnumber float required
abstainVotesnumber float required

Changes

Changed in 4 of the 50 revisions of this API.1433

    • the response's property type changed from string to number, and format from no format to float for status

      response-property-type-changed

    • the response's property type changed from string to number for status

      response-property-type-changed

    • the response's property type changed from string to number for status

      response-property-type-changed

    • the response's property type changed from string to number for status

      response-property-type-changed

    • the response's property type changed from string to number, and format from no format to float for status

      response-property-type-changed

    • the response's property type changed from string to number for status

      response-property-type-changed

    • the response's property type changed from string to number, and format from no format to float for status

      response-property-type-changed

  • eb65b9fb021c11See the full diff
    • added the new executedRejected enum value to the response property for the response status

      response-property-enum-value-added

    • removed the ExecutedRejected enum value from the response property for the response status

      response-property-enum-value-removed

    • added the new ExecutedRejected enum value to the response property for the response status

      response-property-enum-value-added

    • added the new executedPassed enum value to the response property for the response status

      response-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 6893b023807072See the full diff
    • the response's property type changed from number to string, and format from float to no format for status

      response-property-type-changed

    • the response's property type changed from number to string for status

      response-property-type-changed

    • the response's property type changed from number to string for status

      response-property-type-changed

    • the response's property type changed from number to string for status

      response-property-type-changed

    • the response's property type changed from number to string, and format from float to no format for status

      response-property-type-changed

    • the response's property type changed from number to string for status

      response-property-type-changed

    • the response's property type changed from number to string, and format from float to no format for status

      response-property-type-changed

    • removed the executedPassed enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the executedRejected enum value from the response property for the response status

      response-property-enum-value-removed

    This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 50 revisions, 1 has no diff computed.