Get All Waiting Transactions
Returns all waiting (unconfirmed) transactions currently in the transaction processor. This is a GET endpoint.
Request
GET /nxt?requestType=getAllWaitingTransactions
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
adminPassword | string | No | Not required for this endpoint. |
Response
{
"transactions": [
{
"type": 0,
"subtype": 0,
"chain": 0,
"phased": false,
"timestamp": 1234567890,
"deadline": 1234568190,
"senderPublicKey": "abc123...",
"amountMTA": "1000000",
"feeMTA": "1000000",
"signature": "abc123...",
"signatureHash": "def456...",
"fullHash": "abc123...",
"transaction": "1234567890123456789",
"attachment": {},
"sender": "1234567890123456789",
"senderRS": "SHAMWARI-ABCD-EFGH-IJKL-MNOP",
"height": 0,
"version": 3,
"ecBlockId": "1234567890123456788",
"ecBlockHeight": 100
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
transactions | array | Array of unconfirmed transaction objects. |
transactions[] | object | See Transaction for the full transaction schema. |
Notes
- This endpoint does not require the blockchain to be running (
requireBlockchain = false). - Not chain-specific.
- Does not require admin password authentication (
requirePassword = false).
Source: GetAllWaitingTransactions.java.
Example
curl "http://localhost:22024/nxt?requestType=getAllWaitingTransactions"