Skip to main content

GetPhasingPollVotes

Retrieves all votes for a phasing poll by transaction hash.

Request

GET /nxt?requestType=getPhasingPollVotes

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
transactionFullHashstringTransaction full hashYes
firstIndexintPagination startNo
lastIndexintPagination endNo

Response

{
"votes": [
{
"vote": "yes",
"account": "1234567890123456789",
"accountRS": "SHAMWARI-ABCD-EFGH-IJKL-MNOPQ",
"timestamp": 1700000000
}
],
"errorCode": 0,
"errorDescription": ""
}

Example

curl "http://localhost:22024/nxt?requestType=getPhasingPollVotes&transactionFullHash=abc123...&firstIndex=0&lastIndex=10"