GetExpectedCurrencyPayments
Retrieves expected (unconfirmed) currency payment transactions currently in the memory pool.
Request
GET /nxt?requestType=get-expectedCurrencyPayments
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
currency | long | Filter by currency ID | Optional |
account | string | Filter by sender or recipient account | Optional |
chain | int | Filter by chain ID | Optional |
includeCurrencyInfo | boolean | Include currency metadata | Optional |
Notes
- Supports filtering by chain via
BetaChainparameter - Payments must match the
CURRENCY_PAYMENTtransaction type
Response
{
"payments": [
{
"paymentFullHash": "abc123...",
"chain": 1,
"currency": "987654321",
"sender": "1234567890",
"recipient": "0987654321",
"unitsQNT": "1000000000",
"height": 1000001,
"phased": false,
"timestamp": 123456789,
"deadline": 1440,
"senderPublicKey": "hex...",
"amountMTA": "0",
"feeMTA": "1000000",
"signature": "hex...",
"fullHash": "hex...",
"attachment": {
"currency": "987654321",
"unitsQNT": "1000000000"
}
}
]
}
Example
# Get all expected currency payments
curl "http://localhost:22024/nxt?requestType=get-expectedCurrencyPayments"
# Filter by currency
curl "http://localhost:22024/nxt?requestType=get-expectedCurrencyPayments¤cy=987654321&includeCurrencyInfo=true"