Get object creation statistics over time
Retrieve time-series data about smart object creation patterns and trends. This endpoint provides detailed analytics on object instantiation over time, including creation velocity, template popularity, and temporal distribution of new object generation.
GET
Parameters
Query Parameters
Interval
Time interval for grouping time-series statistics and analytics data
Time_range
Time range for filtering statistics and analytics data
Limit
How many items to return at one time (max 100)
When_created[$gt]
When_created[$lt]
When_created[$gte]
When_created[$lte]
Template_id
Filter statistics by template ID
Signer
Filter statistics by signer account name
| Status code | Description |
|---|---|
| 200 | Object creation statistics |
| 400 | Bad request error - the request contains invalid parameters or malformed data |
| 500 | Internal server error - an unexpected error occurred on the server |
cURL
curl -L \"https://blockv-labs.io/stats/objects/creation?interval={interval}&time_range={time_range}&limit={limit}&when_created[$gt]={when_created[$gt]}&when_created[$lt]={when_created[$lt]}&when_created[$gte]={when_created[$gte]}&when_created[$lte]={when_created[$lte]}&template_id={template_id}&signer={signer}" \-H 'Accept: application/json'
Response
{"data": [{"id": "string","key": "string","when": "2024-01-01T00:00:00Z","count": 1,"fee": "string"}]}
json
{"type": "object","required": ["data"],"properties": {"data": {"type": "array","items": {"type": "object","properties": {"id": {"type": "string","x-oapi-codegen-extra-tags": {"bson": "id","json": "id,omitempty"},"x-go-type": "id.ID","x-go-type-import": {"path": "github.com/vlabsio/smarttoken/pkg/types/id"}},"key": {"type": "string","description": "Key for this data point","x-oapi-codegen-extra-tags": {"bson": "key","json": "key,omitempty"}},"when": {"type": "string","format": "date-time","description": "Timestamp for this data point","x-oapi-codegen-extra-tags": {"bson": "when"}},"count": {"type": "integer","format": "int64","description": "Count value for this data point","x-oapi-codegen-extra-tags": {"bson": "count"}},"fee": {"type": "string","x-go-type": "decimal.Decimal","x-go-type-import": {"path": "github.com/vlabsio/smarttoken/pkg/types/decimal"},"x-oapi-codegen-extra-tags": {"bson": "fee"}}}},"description": "List of object creation statistics over time"}}}