Skip to main content

GetVoterPhasedTransactions

Returns voter phased transactions for a specific account.

Request

GET /nxt?requestType=get-voter-phased-transactions

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
accountstringAccount ID or SHAMWARI addressYes
firstIndexintPagination start indexOptional
lastIndexintPagination end indexOptional

Response

{
"voterPhasedTransactions": [
{
"hash": "abc123...",
"type": 1,
"subtype": 0,
"timestamp": 123456789,
"height": 250,
"deadline": 14400
}
]
}

Response Fields

FieldTypeDescription
hashstringTransaction hash
typeintTransaction type
subtypeintTransaction subtype
timestampintTransaction timestamp
heightintBlock height
deadlineintTransaction deadline

Error Codes

CodeDescription
3Unknown account

Example

curl "http://localhost:22024/nxt?requestType=get-voter-phased-transactions&account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"