GetCurrenciesByIssuer
Returns all currencies issued by one or more accounts.
Request
GET /nxt?requestType=get-currenciesByIssuer
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
account | string[] | Array of account IDs or NXT addresses (comma-separated) | Yes |
firstIndex | int | Pagination start index (default: 0) | Optional |
lastIndex | int | Pagination end index (default: MAX) | Optional |
includeCounts | boolean | Include transfer/payment counts | Optional |
Response
{
"currencies": [
[
{
"currency": "987654321",
"issuer": "1234567890",
"name": "MyCoin",
"code": "MYC",
"type": 4,
"currentSupplyQNT": "95000000000",
"maxSupplyQNT": "100000000000"
}
]
]
}
Response Structure
The response is a nested array structure:
- Outer array: One entry per requested account
- Inner array: Currencies issued by that account
This preserves the mapping between accounts and their issued currencies.
Example
# Get currencies issued by specific accounts
curl "http://localhost:22024/nxt?requestType=get-currenciesByIssuer&account=1234567890,0987654321&includeCounts=true"