Get object statistics

Retrieve comprehensive statistics about smart objects and their usage patterns. This endpoint provides aggregate data including total object counts, creation trends, template distribution, and ownership analytics over specified time ranges for platform insights and reporting.

GET
/stats/objects
AuthorizationBearer <token>

In: header

Query Parameters

time_range?string

Time range for filtering statistics and analytics data

Default"all"
Value in"all" | "today" | "week" | "month" | "year"
when_created[$gt]?string
Formatdate-time
when_created[$lt]?string
Formatdate-time
when_created[$gte]?string
Formatdate-time
when_created[$lte]?string
Formatdate-time
template_id?string

Filter statistics by template ID

wallet_id?string

Filter statistics by wallet ID

Response Body

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/stats/objects"
{
  "total": 0,
  "by_template": {
    "property1": 0,
    "property2": 0
  }
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}