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

List protocol upgrade proposals

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

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

    Protocol upgrade proposal status to filter results from listing proposals, if provided.

    • 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

    Option to filter listed proposals on being approved or not, if provided.

    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

    Newest records first, older records last, default 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.

    cursor string
    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]

    upgradeBlockHeight uint64
    vegaReleaseTag Release tag for the vega binary
    pageInfo object

    Page information that is used for fetching further pages.

    endCursor string
    hasNextPage boolean
    hasPreviousPage boolean
    startCursor string
Loading...