GetCurrencyPhasedTransactions
Retrieves phased transactions for a specific currency, filterable by account and whitelist.
Request
GET /nxt?requestType=getCurrencyPhasedTransactions
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
currency | long | Currency ID | Yes |
account | string | Filter by account | Optional |
withoutWhitelist | boolean | Exclude whitelist filter | Optional |
firstIndex | int | Pagination start index | Optional |
lastIndex | int | Pagination end index | Optional |
Response
{
"transactions": [
{
"type": 2,
"subtype": 0,
"chain": 1,
"phased": true,
"timestamp": 123456789,
"deadline": 1440,
"senderPublicKey": "hex...",
"sender": "1234567890",
"recipient": "0987654321",
"amountMTA": "0",
"feeMTA": "1000000",
"signature": "hex...",
"fullHash": "hex...",
"transaction": "1234567890123456789",
"confirmations": 123,
"attachment": {}
}
]
}
Example
# Get phased transactions for a currency
curl "http://localhost:22024/nxt?requestType=getCurrencyPhasedTransactions¤cy=987654321"
# Filter by account and exclude whitelist
curl "http://localhost:22024/nxt?requestType=getCurrencyPhasedTransactions¤cy=987654321&account=1234567890&withoutWhitelist=true"