Skip to main content

GetCurrencyPhasedTransactions

Retrieves phased transactions for a specific currency, filterable by account and whitelist.

Request

GET /nxt?requestType=getCurrencyPhasedTransactions

Parameters

NameTypeDescriptionRequired
currencylongCurrency IDYes
accountstringFilter by accountOptional
withoutWhitelistbooleanExclude whitelist filterOptional
firstIndexintPagination start indexOptional
lastIndexintPagination end indexOptional

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&currency=987654321"

# Filter by account and exclude whitelist
curl "http://localhost:22024/nxt?requestType=getCurrencyPhasedTransactions&currency=987654321&account=1234567890&withoutWhitelist=true"