Skip to main content

GetAccountPhasedTransactions

Returns phased transactions for a specific account.

Request​

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

All endpoints use port 22024 by default.

Parameters​

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

Response​

{
"phasedTransactions": [
{
"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-account-phased-transactions&account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"