GetAccountCurrentBidOrderIds
Returns the IDs of current bid orders placed by a specific account.
Request
GET /nxt?requestType=get-account-current-bid-order-ids
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
account | string | Account ID or SHAMWARI address | Yes |
totem | long | Filter by Totem ID | Optional |
currency | long | Filter by currency ID | Optional |
firstIndex | int | Pagination start index | Optional |
lastIndex | int | Pagination end index | Optional |
Response
{
"orderIds": [
"47382019481029384",
"48382019481029384"
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
orderIds | array | List of current bid order IDs |
Error Codes
| Code | Description |
|---|---|
| 3 | Unknown account |
Example
curl "http://localhost:22024/nxt?requestType=get-account-current-bid-order-ids&account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"