Custom Events

Create and manage custom event schemas for off-chain activity tracking

Custom events let you track off-chain user activity — purchases, social actions, game events, signups — and use that data to power incentives.

create_custom_event

Create a custom event schema for tracking off-chain user activity.

Requires: authentication

ParameterTypeRequiredDescription
eventNamestringYesUnique identifier for the event
namestringYesDisplay name
fieldsarrayYesField definitions (see below)
confirmedbooleanNoSet to true to execute. Omit to preview first.

Field schema:

PropertyTypeRequiredDescription
fieldNamestringYesField name
type"string" | "number" | "boolean"YesData type
labelstringNoDisplay label
descriptionstringNoField description

userPubkey (wallet address) is always required as a top-level property when sending events — it is not part of the event schema you define here.

list_project_events

List custom events attached to the active project, including events from any project admin. Shows schemas, fields, and query-readiness status.

Requires: authentication, active project

No parameters.

Events must be ingested at least once before they become query-ready for generate_incentive_query.

list_custom_events

List all custom events you've created across all projects. Use this to browse your own events regardless of which project they're attached to.

Requires: authentication

No parameters.

attach_custom_event

Attach an existing custom event to the active project so it can be used in incentives.

Requires: authentication, active project

ParameterTypeRequiredDescription
customEventIdstringYesID of the custom event to attach
Custom Events - Torque Docs