v1

latestOpenAPI 3.0.1Apache 2.02026-07-26142209237.7 KB
Mips

getVotesByMip*

Get a list of votes of the queried MIP (Mina Improvement Proposals).

get/v1/mips/{id}/votes

Path parameters

idinteger required

Mip ID - the order number of a MIP.

Mip ID - the order number of a MIP.

Query parameters

pageinteger required

Queried API page.

sizeinteger required

Number of queried entries.

orderBy'ASC' | 'DESC' required

Sorting method: from the lowest element to the highest (ASC) or from the highest element to the lowest (DESC).

searchStrstring

Enter part or full account name or address to get a list of votes the queried account cast.

sortBy'TIMESTAMP' required

Select sorting parameter.

vote'YES' | 'NO' | 'INVALID' | 'ALL' | 'ALL' | 'YES' | 'NO' | 'INVALID'

Vote option.

Vote option.

accountType'ACCOUNT' | 'VALIDATOR' | 'ALL' | 'ALL' | 'ACCOUNT' | 'VALIDATOR'

The type of account that cast a vote in a MIP.

The type of account that cast a vote in a MIP.

Response

OK

currentPageinteger
sizeinteger
totalItemsinteger
totalPagesinteger
lastboolean
totalElementsinteger
numberinteger
firstboolean
numberOfElementsinteger
emptyboolean