Skip to main content

GetAccountCurrentAskOrderIds

Returns the IDs of current ask orders placed by a specific account.

Request

GET /nxt?requestType=get-account-current-ask-order-ids

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
accountstringAccount ID or SHAMWARI addressYes
totemlongFilter by Totem IDOptional
currencylongFilter by currency IDOptional
firstIndexintPagination start indexOptional
lastIndexintPagination end indexOptional

Response

{
"orderIds": [
"47382019481029384",
"48382019481029384"
]
}

Response Fields

FieldTypeDescription
orderIdsarrayList of current ask order IDs

Error Codes

CodeDescription
3Unknown account

Example

curl "http://localhost:22024/nxt?requestType=get-account-current-ask-order-ids&account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"