Skip to main content

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

NameTypeDescriptionRequired
transactionFullHashstringTransaction full hashYes
countVotesbooleanInclude vote countsNo

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..."