Skip to main content

GetTotemIds

Retrieves a paginated list of all totem IDs in the system.

Endpoint: GET /nxt?requestType=GetTotemIds

Parameters:

  • firstIndex (int, optional, default: 0): Starting index for pagination
  • lastIndex (int, optional, default: 99): Ending index for pagination

Request Example: /nxt?requestType=GetTotemIds&firstIndex=0&lastIndex=49

Response:

{
"totemIds": ["123456789", "987654321", "456123789"]
}

Response Fields:

  • totemIds: string[] - Array of totem IDs as unsigned strings

Source: GetTotemIds.java