tenero
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTenero Skill
Tenero Skill
Provides real-time market analytics for tokens, wallets, DEXs, and markets via the Tenero API (formerly STXTools). All endpoints are read-only and require no authentication. Data covers Stacks, Spark, and SportsFun chains.
通过Tenero API(前身为STXTools)提供代币、钱包、DEX及市场的实时市场分析数据。所有接口均为只读模式,无需身份验证。数据覆盖Stacks、Spark和SportsFun链。
Usage
使用方法
bun run tenero/tenero.ts <subcommand> [options]bun run tenero/tenero.ts <subcommand> [options]Subcommands
子命令
token-info
token-info
Get token details including metadata, price, and volume.
bun run tenero/tenero.ts token-info --token <address> [--chain <chain>]Options:
- (required) — Token contract address (e.g.
--token)SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token - (optional) — Chain to query (default:
--chain)stacks
Output:
json
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"symbol": "LEO",
"name": "Leo",
"decimals": 6,
"price_usd": "0.0012",
"price_stx": "0.0042",
"volume_24h_usd": "45000",
"market_cap_usd": "1200000"
}获取代币详细信息,包括元数据、价格和交易量。
bun run tenero/tenero.ts token-info --token <address> [--chain <chain>]选项:
- (必填)——代币合约地址(例如
--token)SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token - (可选)——要查询的链(默认值:
--chain)stacks
输出:
json
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"symbol": "LEO",
"name": "Leo",
"decimals": 6,
"price_usd": "0.0012",
"price_stx": "0.0042",
"volume_24h_usd": "45000",
"market_cap_usd": "1200000"
}market-summary
market-summary
Get token market summary including price history, volume, and liquidity.
bun run tenero/tenero.ts market-summary --token <address> [--chain <chain>]Options:
- (required) — Token contract address
--token - (optional) — Chain to query (default:
--chain)stacks
Output:
json
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"price_usd": "0.0012",
"price_change_1h": "1.2",
"price_change_24h": "-3.5",
"price_change_7d": "12.4",
"volume_24h_usd": "45000",
"liquidity_usd": "350000",
"holders": 1842
}获取代币市场汇总信息,包括价格历史、交易量和流动性。
bun run tenero/tenero.ts market-summary --token <address> [--chain <chain>]选项:
- (必填)——代币合约地址
--token - (可选)——要查询的链(默认值:
--chain)stacks
输出:
json
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"price_usd": "0.0012",
"price_change_1h": "1.2",
"price_change_24h": "-3.5",
"price_change_7d": "12.4",
"volume_24h_usd": "45000",
"liquidity_usd": "350000",
"holders": 1842
}market-stats
market-stats
Get overall market statistics including total volume, market cap, and active tokens.
bun run tenero/tenero.ts market-stats [--chain <chain>]Options:
- (optional) — Chain to query (default:
--chain)stacks
Output:
json
{
"total_volume_24h_usd": "2500000",
"total_market_cap_usd": "85000000",
"active_tokens": 342,
"total_trades_24h": 18420,
"unique_traders_24h": 3210
}获取整体市场统计数据,包括总交易量、总市值和活跃代币数量。
bun run tenero/tenero.ts market-stats [--chain <chain>]选项:
- (可选)——要查询的链(默认值:
--chain)stacks
输出:
json
{
"total_volume_24h_usd": "2500000",
"total_market_cap_usd": "85000000",
"active_tokens": 342,
"total_trades_24h": 18420,
"unique_traders_24h": 3210
}top-gainers
top-gainers
Get top gaining tokens by price change percentage over the past 24 hours.
bun run tenero/tenero.ts top-gainers [--chain <chain>] [--limit <number>]Options:
- (optional) — Chain to query (default:
--chain)stacks - (optional) — Maximum number of results (default:
--limit)10
Output:
json
[
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"symbol": "LEO",
"price_usd": "0.0012",
"price_change_24h": "42.5",
"volume_24h_usd": "45000"
}
]获取过去24小时内价格涨幅最高的代币。
bun run tenero/tenero.ts top-gainers [--chain <chain>] [--limit <number>]选项:
- (可选)——要查询的链(默认值:
--chain)stacks - (可选)——最大返回结果数(默认值:
--limit)10
输出:
json
[
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"symbol": "LEO",
"price_usd": "0.0012",
"price_change_24h": "42.5",
"volume_24h_usd": "45000"
}
]top-losers
top-losers
Get top losing tokens by price change percentage over the past 24 hours.
bun run tenero/tenero.ts top-losers [--chain <chain>] [--limit <number>]Options:
- (optional) — Chain to query (default:
--chain)stacks - (optional) — Maximum number of results (default:
--limit)10
Output:
json
[
{
"contract_id": "SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.arkadiko-token",
"symbol": "DIKO",
"price_usd": "0.045",
"price_change_24h": "-18.3",
"volume_24h_usd": "12000"
}
]获取过去24小时内价格跌幅最高的代币。
bun run tenero/tenero.ts top-losers [--chain <chain>] [--limit <number>]选项:
- (可选)——要查询的链(默认值:
--chain)stacks - (可选)——最大返回结果数(默认值:
--limit)10
输出:
json
[
{
"contract_id": "SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.arkadiko-token",
"symbol": "DIKO",
"price_usd": "0.045",
"price_change_24h": "-18.3",
"volume_24h_usd": "12000"
}
]wallet-holdings
wallet-holdings
Get wallet token holdings with current USD value. Uses the active wallet address if is omitted.
--addressbun run tenero/tenero.ts wallet-holdings [--address <stx_address>] [--chain <chain>]Options:
- (optional) — Stacks address to check (uses active wallet if omitted)
--address - (optional) — Chain to query (default:
--chain)stacks
Output:
json
{
"address": "SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173",
"total_value_usd": "1250.42",
"holdings": [
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"symbol": "LEO",
"balance": "1000000",
"value_usd": "1.20"
}
]
}获取钱包的代币持仓及当前美元价值。若省略参数,则使用当前活跃钱包地址。
--addressbun run tenero/tenero.ts wallet-holdings [--address <stx_address>] [--chain <chain>]选项:
- (可选)——要查询的Stacks地址(省略则使用活跃钱包地址)
--address - (可选)——要查询的链(默认值:
--chain)stacks
输出:
json
{
"address": "SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173",
"total_value_usd": "1250.42",
"holdings": [
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"symbol": "LEO",
"balance": "1000000",
"value_usd": "1.20"
}
]
}wallet-trades
wallet-trades
Get wallet trade history. Uses the active wallet address if is omitted.
--addressbun run tenero/tenero.ts wallet-trades [--address <stx_address>] [--chain <chain>] [--limit <number>]Options:
- (optional) — Stacks address to check (uses active wallet if omitted)
--address - (optional) — Chain to query (default:
--chain)stacks - (optional) — Maximum number of results (default:
--limit)20
Output:
json
[
{
"tx_id": "0xabc123...",
"timestamp": "2024-01-15T12:00:00Z",
"type": "swap",
"token_in": "STX",
"token_out": "LEO",
"amount_in_usd": "10.00",
"amount_out_usd": "9.85"
}
]获取钱包的交易历史记录。若省略参数,则使用当前活跃钱包地址。
--addressbun run tenero/tenero.ts wallet-trades [--address <stx_address>] [--chain <chain>] [--limit <number>]选项:
- (可选)——要查询的Stacks地址(省略则使用活跃钱包地址)
--address - (可选)——要查询的链(默认值:
--chain)stacks - (可选)——最大返回结果数(默认值:
--limit)20
输出:
json
[
{
"tx_id": "0xabc123...",
"timestamp": "2024-01-15T12:00:00Z",
"type": "swap",
"token_in": "STX",
"token_out": "LEO",
"amount_in_usd": "10.00",
"amount_out_usd": "9.85"
}
]trending-pools
trending-pools
Get trending DEX pools by volume within a timeframe.
bun run tenero/tenero.ts trending-pools [--timeframe <1h|6h|24h>] [--chain <chain>] [--limit <number>]Options:
- (optional) — Time window:
--timeframe,1h, or6h(default:24h)24h - (optional) — Chain to query (default:
--chain)stacks - (optional) — Maximum number of results (default:
--limit)10
Output:
json
[
{
"pool_id": "SP1Y5YSTAHZ88XYK1VPDH24GY0HPX5J4JECTMY4A1.univ2-share-fee-to",
"token_x": "STX",
"token_y": "LEO",
"volume_usd": "85000",
"liquidity_usd": "420000",
"fee_24h_usd": "255"
}
]获取指定时间段内交易量靠前的热门DEX资金池。
bun run tenero/tenero.ts trending-pools [--timeframe <1h|6h|24h>] [--chain <chain>] [--limit <number>]选项:
- (可选)——时间窗口:
--timeframe、1h或6h(默认值:24h)24h - (可选)——要查询的链(默认值:
--chain)stacks - (可选)——最大返回结果数(默认值:
--limit)10
输出:
json
[
{
"pool_id": "SP1Y5YSTAHZ88XYK1VPDH24GY0HPX5J4JECTMY4A1.univ2-share-fee-to",
"token_x": "STX",
"token_y": "LEO",
"volume_usd": "85000",
"liquidity_usd": "420000",
"fee_24h_usd": "255"
}
]whale-trades
whale-trades
Get large/whale trades above a threshold value.
bun run tenero/tenero.ts whale-trades [--chain <chain>] [--limit <number>]Options:
- (optional) — Chain to query (default:
--chain)stacks - (optional) — Maximum number of results (default:
--limit)10
Output:
json
[
{
"tx_id": "0xdef456...",
"timestamp": "2024-01-15T11:45:00Z",
"wallet": "SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173",
"type": "buy",
"token": "ALEX",
"amount_usd": "25000"
}
]获取超过阈值的大额交易记录。
bun run tenero/tenero.ts whale-trades [--chain <chain>] [--limit <number>]选项:
- (可选)——要查询的链(默认值:
--chain)stacks - (可选)——最大返回结果数(默认值:
--limit)10
输出:
json
[
{
"tx_id": "0xdef456...",
"timestamp": "2024-01-15T11:45:00Z",
"wallet": "SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173",
"type": "buy",
"token": "ALEX",
"amount_usd": "25000"
}
]holder-stats
holder-stats
Get token holder distribution and statistics.
bun run tenero/tenero.ts holder-stats --token <address> [--chain <chain>]Options:
- (required) — Token contract address
--token - (optional) — Chain to query (default:
--chain)stacks
Output:
json
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"total_holders": 1842,
"top_10_concentration": "45.2",
"top_25_concentration": "62.8",
"top_holders": [
{
"address": "SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173",
"balance": "50000000",
"percentage": "5.0"
}
]
}获取代币持仓分布及统计数据。
bun run tenero/tenero.ts holder-stats --token <address> [--chain <chain>]选项:
- (必填)——代币合约地址
--token - (可选)——要查询的链(默认值:
--chain)stacks
输出:
json
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"total_holders": 1842,
"top_10_concentration": "45.2",
"top_25_concentration": "62.8",
"top_holders": [
{
"address": "SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173",
"balance": "50000000",
"percentage": "5.0"
}
]
}search
search
Search tokens, pools, and wallets by name or address fragment.
bun run tenero/tenero.ts search --query <string> [--chain <chain>]Options:
- (required) — Search query string (token name, symbol, or address)
--query - (optional) — Chain to query (default:
--chain)stacks
Output:
json
{
"tokens": [
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"symbol": "LEO",
"name": "Leo"
}
],
"pools": [],
"wallets": []
}通过名称或地址片段搜索代币、资金池和钱包。
bun run tenero/tenero.ts search --query <string> [--chain <chain>]选项:
- (必填)——搜索查询字符串(代币名称、符号或地址)
--query - (可选)——要查询的链(默认值:
--chain)stacks
输出:
json
{
"tokens": [
{
"contract_id": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token",
"symbol": "LEO",
"name": "Leo"
}
],
"pools": [],
"wallets": []
}Notes
注意事项
- All endpoints are read-only — no API key or wallet required for most subcommands
- and
wallet-holdingsuse the active unlocked wallet address whenwallet-tradesis omitted--address - The option supports
--chain(default),stacks, andsparksportsfun - Response data is passed through directly from the Tenero API field
data - Base URL:
https://api.tenero.io
- 所有接口均为只读模式——大多数子命令无需API密钥或钱包
- 当省略参数时,
--address和wallet-holdings会使用当前已解锁的活跃钱包地址wallet-trades - 选项支持
--chain(默认)、stacks和sparksportsfun - 响应数据直接来自Tenero API的字段
data - 基础URL:
https://api.tenero.io