Skip to main content
Version: mainnet (v0.77)

List protocol upgrade proposals

GET 

/api/v2/upgrade/proposals

Get a list of protocol upgrade proposals, optionally filtering on status or approver.

Request

Query Parameters

    status string

    Possible values: [PROTOCOL_UPGRADE_PROPOSAL_STATUS_UNSPECIFIED, PROTOCOL_UPGRADE_PROPOSAL_STATUS_PENDING, PROTOCOL_UPGRADE_PROPOSAL_STATUS_APPROVED, PROTOCOL_UPGRADE_PROPOSAL_STATUS_REJECTED]

    Default value: PROTOCOL_UPGRADE_PROPOSAL_STATUS_UNSPECIFIED

    Restrict protocol upgrade proposals to those with the given status.

    • PROTOCOL_UPGRADE_PROPOSAL_STATUS_PENDING: The proposal is pending
    • PROTOCOL_UPGRADE_PROPOSAL_STATUS_APPROVED: The proposal is approved
    • PROTOCOL_UPGRADE_PROPOSAL_STATUS_REJECTED: The proposal is rejected
    approvedBy string

    Restrict protocol upgrade proposals to those approved by the given node ID.

    pagination.first int32

    Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.

    pagination.after string

    If paging forwards, the cursor string for the last row of the previous page.

    pagination.last int32

    Number of records to be returned that sort less than row identified by cursor supplied in 'before'.

    pagination.before string

    If paging forwards, the cursor string for the first row of the previous page.

    pagination.newestFirst boolean

    Whether to order the results with the newest records first. If not set, the default value is true.

Responses

A successful response.

Schema
    protocolUpgradeProposals object

    Page of protocol upgrade proposals and corresponding page information.

    edges object[]

    Page of protocol upgrade proposals data and their corresponding cursors.

  • Array [
  • cursor string

    Cursor that can be used to fetch further pages.

    node object

    Protocol upgrade proposal data.

    approvers string[]
    status Status of the proposal

    Possible values: [PROTOCOL_UPGRADE_PROPOSAL_STATUS_UNSPECIFIED, PROTOCOL_UPGRADE_PROPOSAL_STATUS_PENDING, PROTOCOL_UPGRADE_PROPOSAL_STATUS_APPROVED, PROTOCOL_UPGRADE_PROPOSAL_STATUS_REJECTED]

    Default value: PROTOCOL_UPGRADE_PROPOSAL_STATUS_UNSPECIFIED

    upgradeBlockHeight uint64
    vegaReleaseTag Release tag for the vega binary
  • ]
  • pageInfo object

    Page information that is used for fetching further pages.

    endCursor string

    End cursor.

    hasNextPage boolean

    Indicator if there is a next page.

    hasPreviousPage boolean

    Indicator if there is a previous page.

    startCursor string

    Start cursor.

Loading...