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

Observe votes

Subscribe to a stream of votes

Query Parameters
    partyId string

    Party ID for which the votes are requested.

    proposalId string

    Option proposal ID for which the votes are requested.

Responses

A successful response.(streaming responses)


Schema
    error object
    code int32
    details object[]
    @type string
    message string
    result object
    vote object

    Data associated with governance votes that are published to the stream.

    partyId string
    proposalId string
    timestamp int64
    totalEquityLikeShareWeight string
    totalGovernanceTokenBalance string
    totalGovernanceTokenWeight string
    value Vote value

    Possible values: [VALUE_UNSPECIFIED, VALUE_NO, VALUE_YES]

Loading...