SerenAI

Pay Per Call Agentic Commerce

TopAgent

Top agent by spending.

Properties

PropertyTypeRequiredDescription
agent_wallet string Yes Agent wallet address
balance_atomic integer Yes Current balance (atomic units)
last_active string,null No Last activity timestamp (ISO 8601)
query_count integer Yes Number of queries executed
rank integer Yes Rank (1 = highest spender)
total_spent string Yes Total amount spent as decimal string
total_spent_atomic integer Yes Total amount spent (atomic units)
View JSON Schema
{
  "type": "object",
  "description": "Top agent by spending.",
  "required": [
    "rank",
    "agent_wallet",
    "total_spent_atomic",
    "total_spent",
    "balance_atomic",
    "query_count"
  ],
  "properties": {
    "agent_wallet": {
      "type": "string",
      "description": "Agent wallet address"
    },
    "balance_atomic": {
      "type": "integer",
      "format": "int64",
      "description": "Current balance (atomic units)"
    },
    "last_active": {
      "type": [
        "string",
        "null"
      ],
      "description": "Last activity timestamp (ISO 8601)"
    },
    "query_count": {
      "type": "integer",
      "format": "int64",
      "description": "Number of queries executed"
    },
    "rank": {
      "type": "integer",
      "format": "int32",
      "description": "Rank (1 = highest spender)"
    },
    "total_spent": {
      "type": "string",
      "description": "Total amount spent as decimal string"
    },
    "total_spent_atomic": {
      "type": "integer",
      "format": "int64",
      "description": "Total amount spent (atomic units)"
    }
  }
}