Skip to main content

GetCurrencies

Retrieves details for multiple currencies specified by their numeric IDs.

Request

GET /nxt?requestType=get-currencies

Parameters

NameTypeDescriptionRequired
currencieslong[]Array of currency IDs (comma-separated)Yes
includeCountsbooleanInclude transfer/payment counts for each currencyOptional

Response

{
"currencies": [
{
"currency": "987654321",
"issuer": "1234567890",
"issuerRS": "NXT-abcd-efgh-ijkl",
"name": "MyCoin",
"code": "MYC",
"description": "My custom currency",
"type": 4,
"chain": 1,
"initialSupplyQNT": "100000000000",
"currentSupplyQNT": "95000000000",
"maxSupplyQNT": "100000000000",
"transactionLimitQNT": "5000000000",
"dailyLimitQNT": "1000000000",
"creationHeight": 100,
"issuanceHeight": 150,
"minDifficulty": 1,
"maxDifficulty": 255,
"algorithm": 0,
"decimals": 8,
"types": ["EXCHANGEABLE"],
"numberOfTransfers": 1500,
"numberOfPayments": 3200
}
]
}

Response Fields Description

The response contains a currencies array with objects matching the JSONData.currency() structure:

Example

# Get details for multiple currencies
curl "http://localhost:22024/nxt?requestType=get-currencies&currencies=987654321,123456789,555555555&includeCounts=true"