GetPhasingPollVotes
Retrieves all votes for a phasing poll by transaction hash.
Request
GET /nxt?requestType=getPhasingPollVotes
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
transactionFullHash | string | Transaction full hash | Yes |
firstIndex | int | Pagination start | No |
lastIndex | int | Pagination end | No |
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"