GetCurrencyIds
Returns a paginated list of all currency IDs on the blockchain.
Request
GET /nxt?requestType=get-currencyIds
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
firstIndex | int | Pagination start index (default: 0) | Optional |
lastIndex | int | Pagination end index (default: MAX) | Optional |
Response
{
"currencyIds": [
"987654321",
"123456789",
"555555555"
]
}
Response Fields Description
| Field | Type | Description |
|---|---|---|
currencyIds | string[] | Array of currency IDs in unsigned string format |
Example
# Get first 100 currency IDs
curl "http://localhost:22024/nxt?requestType=get-currencyIds&firstIndex=0&lastIndex=100"