label_changes
Track address label updates including new labels, risk score changes, and category modifications since a specified timestamp using on-chain intelligence.
Instructions
Get recent changes to address labels since a given timestamp. Shows newly labeled addresses, risk score updates, and category changes. Cost: $0.005 per query. Source: On-chain address intelligence.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | Yes | ISO 8601 timestamp to get changes since (e.g. 2026-03-01T00:00:00Z) | |
| limit | No | Maximum results (default 50) |
Implementation Reference
- src/tools/labels.ts:71-119 (handler)The `label_changes` tool implementation, including schema definition and request handler logic within `registerLabelTools`.
server.registerTool( "label_changes", { title: "Label Changes", description: "Get recent changes to address labels since a given timestamp. Shows newly labeled " + "addresses, risk score updates, and category changes. " + "Cost: $0.005 per query. Source: On-chain address intelligence.", inputSchema: { since: z .string() .describe("ISO 8601 timestamp to get changes since (e.g. 2026-03-01T00:00:00Z)"), limit: z .number() .int() .min(1) .max(100) .optional() .describe("Maximum results (default 50)"), }, }, async ({ since, limit }) => { const res = await apiGet<LabelQueryResponse>("/api/v1/labels/changes", { since, limit: limit ?? 50, }); if (!res.ok) { return { content: [ { type: "text" as const, text: `API error (${res.status}): ${JSON.stringify(res.data)}`, }, ], isError: true, }; } const { count, data } = res.data; const warn = stalenessWarning(res); const summary = `${warn}Found ${count} label change(s) since ${since}.`; const json = JSON.stringify(data, null, 2); return { content: [{ type: "text" as const, text: `${summary}\n\n${json}` }], }; }, );