tokenomist
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseScript Usage
脚本使用方法
Script-mode skill — read this file, then invoke from a block:
bashbash
python3 - <<'EOF'
import sys, json
sys.path.insert(0, "/data/workspace/skills/tokenomist")
from exports import (
tokenomist_resolve_token,
tokenomist_token_overview,
tokenomist_unlock_events,
tokenomist_daily_emission,
tokenomist_allocations,
)脚本模式技能 — 阅读此文件后,从块中调用:
bashbash
python3 - <<'EOF'
import sys, json
sys.path.insert(0, "/data/workspace/skills/tokenomist")
from exports import (
tokenomist_resolve_token,
tokenomist_token_overview,
tokenomist_unlock_events,
tokenomist_daily_emission,
tokenomist_allocations,
)Resolve symbol -> token id
解析符号 -> 代币ID
print(tokenomist_resolve_token(query="ARB"))
print(tokenomist_resolve_token(query="ARB"))
Full overview
完整概览
print(json.dumps(tokenomist_token_overview(query="ARB"), indent=2))
EOF
Available functions in `exports.py`: `tokenomist_token_list`,
`tokenomist_resolve_token`, `tokenomist_allocations`,
`tokenomist_allocations_summary`, `tokenomist_daily_emission`,
`tokenomist_unlock_events`, `tokenomist_token_overview`.
Read `exports.py` directly for exact signatures.print(json.dumps(tokenomist_token_overview(query="ARB"), indent=2))
EOF
`exports.py`中的可用函数:`tokenomist_token_list`,
`tokenomist_resolve_token`, `tokenomist_allocations`,
`tokenomist_allocations_summary`, `tokenomist_daily_emission`,
`tokenomist_unlock_events`, `tokenomist_token_overview`.
直接查看`exports.py`获取确切签名。Tokenomist (Tokenomist API)
Tokenomist(Tokenomist API)
Use this skill for token unlock timeline analysis.
使用此技能进行代币解锁时间线分析。
Function Reference (full signatures + return shapes)
函数参考(完整签名 + 返回结构)
All functions live in .
exports.py所有函数都在中。
exports.py⚠️ Field naming convention (READ THIS FIRST)
⚠️ 字段命名规范(请先阅读)
All Tokenomist response fields use camelCase, not snake_case. The most
common mistake: looking for when the field is
actually . Always inspect the dict before
scripting.
allocation_percentagetrackedAllocationPercentage所有Tokenomist响应字段使用camelCase,而非snake_case。 最常见的错误:寻找,但实际字段是。编写脚本前请务必检查字典结构。
allocation_percentagetrackedAllocationPercentageFunction Signatures
函数签名
| Function | Signature |
|---|---|
| List all supported tokens (id + symbol + name) |
| dict — |
| Full raw allocation data (granular, includes per-recipient breakdown when known) |
| Aggregated allocation summary — recommended for analysis/charts |
| Daily emission schedule (date + amount) |
| Cliff unlock events list |
| Composite call — bundles overview + allocations + emission + events into one response. Use this for "give me everything about token X". |
startend"2026-01-01"| 函数 | 签名说明 |
|---|---|
| 列出所有支持的代币(ID + 符号 + 名称) |
| 返回字典 — |
| 完整的原始分配数据(粒度细,已知时包含每个接收方的明细) |
| 汇总的分配摘要 — 推荐用于分析/图表制作 |
| 每日释放时间表(日期 + 数量) |
| Cliff解锁事件列表 |
| 复合调用 — 将概览 + 分配 + 释放 + 事件整合为一个响应。适用于"获取代币X的所有信息"场景。 |
startend"2026-01-01"Response Schemas
响应结构
tokenomist_allocations_summary(query="ARB")json
{
"metadata": {"queryDate": "2026-05-04T..."},
"status": true,
"data": {
"name": "Arbitrum",
"symbol": "ARB",
"listedMethod": "INTERNAL",
"maxSupply": 10000000000,
"lastUpdatedDate": "2025-06-11T10:31:15Z",
"totalUnlockedAmount": 5410170736.76,
"totalLockedAmount": 1186004337.54,
"totalUntrackedAmount": 0,
"totalTBDLockedAmount": 3403750000,
"allocations": [
{
"allocationName": "Arbitrum DAO Treasury",
"allocationType": "TBD",
"standardAllocationName": "Reserve",
"allocationUnlockedAmount": 0,
"allocationLockedAmount": 3403750000,
"allocationAmount": 3403750000,
"trackedAllocationPercentage": 34.0375
},
...
]
}
}Common pitfalls in items:
allocations- Percentage field: (NOT
trackedAllocationPercentage/allocation_percentage/percentage)pct - Three separate amount fields: (total),
allocationAmount,allocationUnlockedAmountallocationLockedAmount - Type field: — string values like
allocationType,"TBD","Scheduled""Vested" - Standard category name: (e.g. "Reserve", "Founder / Team", "Private Investors")
standardAllocationName
tokenomist_unlock_events(query="ARB")json
{
"data": [
{
"eventDate": "2026-...",
"tokenAmount": ...,
"tokenAmountUSD": ...,
"allocationName": "Investors",
"allocationType": "Scheduled"
}
]
}tokenomist_daily_emission(query="ARB")json
{
"data": [
{"date": "2026-...", "amountEmitted": ..., "amountEmittedUSD": ...}
]
}tokenomist_resolve_token(query="ARB")json
{
"match_type": "exact_symbol",
"token": {
"id": "arbitrum",
"name": "Arbitrum",
"symbol": "ARB",
"listedMethod": "INTERNAL",
"marketCap": 721937871,
"circulatingSupply": 6150718438,
"maxSupply": 10000000000
},
"candidates": []
}match_type"exact_symbol""exact_id""exact_name""fuzzy""none"candidatestokenomist_allocations_summary(query="ARB")json
{
"metadata": {"queryDate": "2026-05-04T..."},
"status": true,
"data": {
"name": "Arbitrum",
"symbol": "ARB",
"listedMethod": "INTERNAL",
"maxSupply": 10000000000,
"lastUpdatedDate": "2025-06-11T10:31:15Z",
"totalUnlockedAmount": 5410170736.76,
"totalLockedAmount": 1186004337.54,
"totalUntrackedAmount": 0,
"totalTBDLockedAmount": 3403750000,
"allocations": [
{
"allocationName": "Arbitrum DAO Treasury",
"allocationType": "TBD",
"standardAllocationName": "Reserve",
"allocationUnlockedAmount": 0,
"allocationLockedAmount": 3403750000,
"allocationAmount": 3403750000,
"trackedAllocationPercentage": 34.0375
},
...
]
}
}allocations- 百分比字段:(不是
trackedAllocationPercentage/allocation_percentage/percentage)pct - 三个独立的数量字段:(总数)、
allocationAmount、allocationUnlockedAmountallocationLockedAmount - 类型字段:— 字符串值如
allocationType、"TBD"、"Scheduled""Vested" - 标准分类名称:(例如"Reserve"、"Founder / Team"、"Private Investors")
standardAllocationName
tokenomist_unlock_events(query="ARB")json
{
"data": [
{
"eventDate": "2026-...",
"tokenAmount": ...,
"tokenAmountUSD": ...,
"allocationName": "Investors",
"allocationType": "Scheduled"
}
]
}tokenomist_daily_emission(query="ARB")json
{
"data": [
{"date": "2026-...", "amountEmitted": ..., "amountEmittedUSD": ...}
]
}tokenomist_resolve_token(query="ARB")json
{
"match_type": "exact_symbol",
"token": {
"id": "arbitrum",
"name": "Arbitrum",
"symbol": "ARB",
"listedMethod": "INTERNAL",
"marketCap": 721937871,
"circulatingSupply": 6150718438,
"maxSupply": 10000000000
},
"candidates": []
}match_type"exact_symbol""exact_id""exact_name""fuzzy""none"candidatesVersion Policy (hard rule)
版本策略(硬性规则)
When multiple API versions exist, always use latest stable versions:
- Token List API → v4 ()
/v4/token/list - Allocations API → v2 ()
/v2/allocations - Daily Emission API → v2 ()
/v2/daily-emission - Unlock Events API → v4 ()
/v4/unlock/events
Do not downgrade unless user explicitly asks for legacy behavior.
当存在多个API版本时,请始终使用最新稳定版本:
- Token List API → v4 ()
/v4/token/list - Allocations API → v2 ()
/v2/allocations - Daily Emission API → v2 ()
/v2/daily-emission - Unlock Events API → v4 ()
/v4/unlock/events
除非用户明确要求旧版行为,否则请勿降级版本。
Auth + Proxy
认证与代理
- Header:
x-api-key: $TOKENMIST_API_KEY - Base URL:
https://api.tokenomist.ai - This skill uses (
core/http_client.py), so requests follow platform sc-proxy behavior.proxied_get - Fake key configured in environment is expected (e.g. ). Never treat fake prefix as invalid in this platform.
fake-tokenomist-key-12345
- 请求头:
x-api-key: $TOKENMIST_API_KEY - 基础URL:
https://api.tokenomist.ai - 此技能使用中的
core/http_client.py,因此请求遵循平台sc-proxy行为。proxied_get - 环境中配置的假密钥是可接受的(例如)。在此平台中,请勿将假前缀视为无效。
fake-tokenomist-key-12345
Tool Map
工具映射
tokenomist_token_list
tokenomist_token_listtokenomist_token_list
tokenomist_token_listGet Token List v4. Supports optional keyword filtering and result cap.
获取Token List v4数据。支持可选的关键词过滤和结果数量限制。
tokenomist_resolve_token
tokenomist_resolve_tokentokenomist_resolve_token
tokenomist_resolve_tokenResolve a token query (id/symbol/name) to canonical from v4 list.
tokenId将代币查询(ID/符号/名称)解析为v4列表中的标准。
tokenIdtokenomist_allocations
tokenomist_allocationstokenomist_allocations
tokenomist_allocationsFetch Allocations v2 by , with normalized output optimized for agent use:
token_id- Primary percentage field:
trackedAllocationPercentage - Computed fallback:
effectivePercentage - and
top_allocationsquality summary includedcoverage - Optional for upstream payload debugging
include_raw=true
通过获取Allocations v2数据,输出已归一化以优化Agent使用:
token_id- 主要百分比字段:
trackedAllocationPercentage - 计算的回退值:
effectivePercentage - 包含和
top_allocations质量摘要coverage - 可选以获取上游负载用于调试
include_raw=true
tokenomist_allocations_summary
tokenomist_allocations_summarytokenomist_allocations_summary
tokenomist_allocations_summaryCompact allocation summary wrapper (v2):
- Accepts either or
token_idquery - Auto-resolves query to canonical tokenId when needed
- Returns (configurable
top_allocations) andtop_n/coverageflagsquality - Best default when user asks "top allocation buckets" and you want one concise response
简洁的分配摘要包装器(v2):
- 接受或
token_id作为参数query - 需要时自动将查询解析为标准tokenId
- 返回(可配置
top_allocations)和top_n/coverage标记quality - 当用户询问"顶级分配类别"且需要简洁响应时,这是最佳默认选择
tokenomist_daily_emission
tokenomist_daily_emissiontokenomist_daily_emission
tokenomist_daily_emissionFetch Daily Emission v2 by and optional ().
token_idstart/endYYYY-MM-DD通过和可选的()获取Daily Emission v2数据。
token_idstart/endYYYY-MM-DDtokenomist_unlock_events
tokenomist_unlock_eventstokenomist_unlock_events
tokenomist_unlock_eventsFetch Unlock Events v4 by and optional ().
token_idstart/endYYYY-MM-DD通过和可选的()获取Unlock Events v4数据。
token_idstart/endYYYY-MM-DDtokenomist_token_overview
tokenomist_token_overviewtokenomist_token_overview
tokenomist_token_overviewOne-call wrapper to reduce tool count:
- resolve token
- fetch allocations v2
- fetch daily emission v2
- fetch unlock events v4
Use this by default when user asks broad tokenomics overview and you want minimal tool calls.
一站式调用包装器以减少工具调用次数:
- 解析代币
- 获取allocations v2数据
- 获取daily emission v2数据
- 获取unlock events v4数据
当用户询问全面的代币经济概览且希望最小化工具调用时,请默认使用此函数。
Recommended workflow
推荐工作流
- If user query is ambiguous, call first.
tokenomist_resolve_token - For comprehensive analysis, call once.
tokenomist_token_overview - For allocations-specific questions, prefer (fewest fields, least ambiguity).
tokenomist_allocations_summary - If full detail is needed, call and read:
tokenomist_allocationsnormalized.top_allocationsnormalized.coverage.tracked_percentage_sumnormalized.coverage.tracked_sum_close_to_100
- Only call granular tools when user asks one specific dataset.
- Keep dates UTC and use .
YYYY-MM-DD
- 如果用户查询存在歧义,先调用。
tokenomist_resolve_token - 如需全面分析,调用一次。
tokenomist_token_overview - 针对分配相关问题,优先使用(字段最少,歧义最少)。
tokenomist_allocations_summary - 如果需要完整细节,调用并查看:
tokenomist_allocationsnormalized.top_allocationsnormalized.coverage.tracked_percentage_sumnormalized.coverage.tracked_sum_close_to_100
- 仅当用户询问特定数据集时,才调用粒度更细的工具。
- 日期保持UTC格式,使用。
YYYY-MM-DD
Notes
注意事项
- focuses on cliff unlocks (linear start/mining-yield style events removed).
unlock-events v4 - and
daily-emission v2include listing method context (allocations v2).INTERNAL/AI/EXTERNAL
- 专注于cliff解锁(移除了线性启动/挖矿收益类事件)。
unlock-events v4 - 和
daily-emission v2包含上架方式上下文(allocations v2)。INTERNAL/AI/EXTERNAL