Skip to main content

GetAllCurrencies

Returns a paginated list of all currencies with full details including supply and metadata.

Request

GET /nxt?requestType=get-all-currencies

Parameters

NameTypeDescriptionRequired
firstIndexintPagination start index (default: 0)Optional
lastIndexintPagination end index (default: MAX)Optional
includeCountsbooleanInclude transfer/payment countsOptional

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
}
]
}

Example

# Get all currencies with counts
curl "http://localhost:22024/nxt?requestType=get-all-currencies&includeCounts=true"