Skip to main content

GetTotemsByIssuer

Retrieves all totems issued by one or more accounts.

Endpoint: GET /nxt?requestType=GetTotemsByIssuer

Parameters:

  • account (long[], required): Account ID(s) of the issuer(s)
  • firstIndex (int, optional, default: 0): Starting index for pagination
  • lastIndex (int, optional, default: 99): Ending index for pagination
  • includeCounts (boolean, optional, default: false): Include transfer and account counts for each totem

Request Example: /nxt?requestType=GetTotemsByIssuer&account=123456789&includeCounts=true

Response:

{
"totems": [[totem1, totem2, ...]]
}

Response Fields (from JSONData.totem for each nested element):

  • issuer: string - Account ID of the issuer (unsigned string)
  • name: string - Human-readable name of the totem
  • description: string - Description of the totem
  • decimals: number - Number of decimal places
  • quantityQNT: string - Current circulating supply in Quantum Units
  • totem: string - Totem ID (unsigned string)
  • hasPhasingTotemControl: boolean - Whether totem has phasing control enabled
  • numberOfTransfers: number - Only if includeCounts=true
  • numberOfAccounts: number - Only if includeCounts=true

Source: GetTotemsByIssuer.java, JSONData.totem() Notes: Multiple account IDs can be provided as comma-separated values. Results grouped by account in outer array. Not chain-specific.