Skip to main content

GetCurrencyBulkPayments

Retrieves bulk currency payment records, filterable by currency, account, and timestamp.

Request

GET /nxt?requestType=getCurrencyBulkPayments

Parameters

NameTypeDescriptionRequired
currencylongCurrency IDOptional
accountstringFilter by sender accountOptional
firstIndexintPagination start indexOptional
lastIndexintPagination end indexOptional
timestampintOnly return payments at or after this timestampOptional
includeCurrencyInfobooleanInclude currency metadataOptional

Notes

  • At least one of currency or account must 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&currency=987654321&includeCurrencyInfo=true"