Skip to main content

GetTotems

Retrieves information for multiple totems by their IDs.

Endpoint: GET /nxt?requestType=GetTotems

Parameters:

  • totems (long[], required): Comma-separated list of totem IDs
  • includeCounts (boolean, optional, default: false): Include transfer and account counts for each totem

Request Example: /nxt?requestType=GetTotems&totems=123456789,987654321&includeCounts=true

Response:

{
"totems": [
{
"issuer": "1234567890",
"name": "Totem 1",
"description": "Description 1",
"decimals": 8,
"quantityQNT": "100000000",
"totem": "123456789",
"hasPhasingTotemControl": true,
"numberOfTransfers": 42,
"numberOfAccounts": 10
}
]
}

Response Fields (from JSONData.totem for each array 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