GetTotemPhasedTransactions
Retrieves phased transactions for a totem, optionally filtered by account.
Endpoint: GET /nxt?requestType=GetTotemPhasedTransactions
Parameters:
- totem (long, required): The totem ID
- account (long, optional): Account ID to filter by
- withoutWhitelist (boolean, optional, default: false): Exclude whitelisted transactions
- firstIndex (int, optional, default: 0): Starting index for pagination
- lastIndex (int, optional, default: 99): Ending index for pagination
Request Example: /nxt?requestType=GetTotemPhasedTransactions&totem=123456789&withoutWhitelist=true
Response:
{
"transactions": [
{
"transaction": "1234567890",
"type": 1,
"subtype": 0,
"timestamp": 123456789,
"sender": "111111111",
"amountMTA": "0",
"feeMTA": "1000000",
"phased": true,
"signature": "abc123...",
"fullHash": "ghi789...",
"senderPublicKey": "jkl012...",
"deadline": 123457789,
"ecBlockId": "123456",
"ecBlockHeight": 123456,
"attachment": {...},
"height": 123456,
"version": 1,
"chain": 1,
"phasing": {
"finishHeight": 234567,
"votingModel": 1,
"quorum": "1000",
"minBalance": "100000000",
"holding": "123456789",
"minBalanceModel": 1
}
}
]
}
Response Fields (from JSONData.transaction with phasing info):
- transactions: array - Array of phased transaction objects
- transactions[].transaction: string - Transaction ID (unsigned string)
- transactions[].type: number - Transaction type
- transactions[].subtype: number - Transaction subtype
- transactions[].timestamp: number - Transaction timestamp
- transactions[].sender: string - Sender account ID (unsigned string)
- transactions[].amountMTA: string - Amount in MTA
- transactions[].feeMTA: string - Fee in MTA
- transactions[].phased: boolean - Whether transaction is phased
- transactions[].chain: number - Chain ID
- transactions[].signature: string - Transaction signature
- transactions[].fullHash: string - Full hash of the transaction
- transactions[].senderPublicKey: string - Sender's public key
- transactions[].deadline: number - Transaction deadline
- transactions[].ecBlockId: string - EC block ID
- transactions[].ecBlockHeight: number - EC block height
- transactions[].attachment: object - Transaction attachment data
- transactions[].height: number - Block height
- transactions[].version: number - Transaction version
- transactions[].phasing: object - Phasing parameters from PhasingPoll
- transactions[].phasing.finishHeight: number - Block height when phasing completes
- transactions[].phasing.votingModel: number - Voting model code
- transactions[].phasing.quorum: string - Minimum number of votes required
- transactions[].phasing.minBalance: string - Minimum balance required to vote
- transactions[].phasing.holding: string - Holding ID for voting (unsigned string)
- transactions[].phasing.minBalanceModel: number - Balance model for voting
Source: GetTotemPhasedTransactions.java, JSONData.transaction() with PhasingPoll data Notes: Returns transactions that are currently in the phasing (approval) process. Can filter by account. withoutWhitelist=true excludes transactions from whitelisted accounts.