GetCurrencyBulkPayments
Retrieves bulk currency payment records, filterable by currency, account, and timestamp.
Request
GET /nxt?requestType=getCurrencyBulkPayments
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
currency | long | Currency ID | Optional |
account | string | Filter by sender account | Optional |
firstIndex | int | Pagination start index | Optional |
lastIndex | int | Pagination end index | Optional |
timestamp | int | Only return payments at or after this timestamp | Optional |
includeCurrencyInfo | boolean | Include currency metadata | Optional |
Notes
- At least one of
currencyoraccountmust be provided
Response
{
"bulkPayments": [
{
"paymentFullHash": "abc123def456...",
"chain": 1,
"currency": "987654321",
"sender": "1234567890",
"senderRS": "NXT-abcd-efgh-ijkl",
"totalUnitsQNT": "10000000000",
"taxUnitsQNT": "50000000",
"height": 250,
"timestamp": 123456789
}
]
}
Example
# Get bulk payments for a currency
curl "http://localhost:22024/nxt?requestType=getCurrencyBulkPayments¤cy=987654321&includeCurrencyInfo=true"