Skip to main content

GetCurrencyIds

Returns a paginated list of all currency IDs on the blockchain.

Request

GET /nxt?requestType=get-currencyIds

Parameters

NameTypeDescriptionRequired
firstIndexintPagination start index (default: 0)Optional
lastIndexintPagination end index (default: MAX)Optional

Response

{
"currencyIds": [
"987654321",
"123456789",
"555555555"
]
}

Response Fields Description

FieldTypeDescription
currencyIdsstring[]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"