GET: /voter/:proposalId

VoterProposalRequest

The request to the Voter Proposal API can specify a number of filters, such as which accounts to retrieve information about.

boolean

support

Support

uint32

limit

Limit of pagination

VoterProposalResponse

Type
Key
Description

Struct

metadata

Metadata on request. See VoterMetadata

Struct

data

The list of Voter (see Voter below)

VoterMetadata

Type
Key
Description

uint32

page

Page of pagination

uint32

limit

Limit of pagination

uint32

totalItem

Total amount of items

uint32

totalPage

Total amount of pages for given limit

string

sumVotes

The sum of all votes

Voter

Type

Key

Description

bytes

id

Voter id

string

address

Voter address

uint32

has_voted

Vote status

uint32

support

Support status

uint32

proposal_id

Vote proposal Index

uint32

block_number

Block Number

uint32

block_timestamp

Block timestamp

Timestamp

created_at

Creation timestamp

Timestamp

updated_at

Update timestamp

string

votes

Votes

Last updated