Skip to main content

GetAccountCurrencySavings

Retrieves currency savings plan information for a specific account, optionally filtered by currency.

Request

GET /nxt?requestType=getAccountCurrencySavings

All endpoints use port 22024 by default.

Parameters

NameTypeDescriptionRequired
accountstringAccount ID or SHAMWARI addressYes
currencylongFilter by currency IDOptional
heightintBlock height for historical queryOptional
includeCurrencyInfobooleanInclude currency metadataOptional

Response

{
"accountCurrenciesSavings": [
{
"account": "1234567890",
"accountRS": "SHAMWARI-ABCD-EFGH-IJKL-MNOPQ",
"currency": "987654321",
"unitsQNT": "5000000000",
"height": 250
}
]
}

Example

curl "http://localhost:22024/nxt?requestType=getAccountCurrencySavings&account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"