Skip to main content

SearchTotems

Searches for totems by query string.

Endpoint: GET /nxt?requestType=SearchTotems

Parameters:

  • query (string, required): Search query
  • firstIndex (int, optional, default: 0)
  • lastIndex (int, optional, default: 99)
  • includeCounts (boolean, optional, default: false)

Request Example: /nxt?requestType=SearchTotems&query=MyTotem&includeCounts=true

Response:

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

Response Fields:

  • totems: array of totem objects
  • Each totem includes: issuer, name, description, decimals, quantityQNT, totem, hasPhasingTotemControl
  • numberOfTransfers, numberOfAccounts: only if includeCounts=true

Tags: AE, SEARCH Notes: Searches name and description. Case-insensitive. Not chain-specific.