GetPhasingPoll
Retrieves phasing poll details including vote counts from a transaction's phasing poll.
Request
GET /nxt?requestType=getPhasingPoll
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
transactionFullHash | string | Transaction full hash | Yes |
countVotes | boolean | Include vote counts | No |
Response
{
"pollId": "abc123...",
"question": "Phasing proposal",
"yesVotes": 100,
"noVotes": 50,
"abstainVotes": 20,
"thresholdMet": true,
"expires": 1700000000,
"errorCode": 0,
"errorDescription": ""
}
Example
curl "http://localhost:22024/nxt?requestType=getPhasingPoll&transactionFullHash=abc123..."