stacking-delegation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Stacking Delegation

Stacking委托

What it does

功能介绍

Monitors STX stacking positions and PoX cycle timing via the Hiro PoX API. Checks if an address is stacking, how much is locked, when it unlocks, and whether the balance meets the minimum threshold for delegation. Also tracks BTC reward payouts and prepare phase timing.
通过Hiro PoX API监控STX stacking持仓和PoX周期时间。检查地址是否处于stacking状态、锁定金额、解锁时间,以及余额是否满足委托的最低阈值。同时追踪BTC奖励发放情况和准备阶段时间。

Why agents need it

Agent为何需要该功能

Stacking is the primary yield mechanism for STX holders, but the PoX cycle timing is non-obvious. Agents need to know: Am I stacking? When does my lock expire? Is the prepare phase active (deadline for committing delegations)? How much have I earned? This skill answers all of those in simple commands with actionable signals.
Stacking是STX持有者的主要收益机制,但PoX周期时间并不直观。Agent需要了解:我是否在进行stacking?我的锁定何时到期?准备阶段是否已启动(提交委托的截止时间)?我已赚取多少收益?该技能通过简单命令提供所有这些问题的答案,并给出可执行的信号。

Commands

命令

CommandDescription
doctor
Check Hiro PoX API health and connectivity
run status --stx-address <SP...>
Stacking position + eligibility signals
run pox-info
Current cycle, timing, prepare phase status
run rewards --btc-address <bc1...>
Recent BTC reward payouts
install-packs
Report dependencies (none required)
命令描述
doctor
检查Hiro PoX API的健康状态和连通性
run status --stx-address <SP...>
Stacking持仓状态 + 资格信号
run pox-info
当前周期、时间安排、准备阶段状态
run rewards --btc-address <bc1...>
近期BTC奖励发放情况
install-packs
报告依赖项(无依赖)

On-chain proof

链上验证

Tested on Stacks mainnet (April 6, 2026):
CheckResult
PoX cycle132 active, prepare phase tracked
STX balance29.05 STX (below stacking minimum — correctly flagged)
API connectivityHiro PoX v3 endpoint healthy
已在Stacks主网测试(2026年4月6日):
检查项结果
PoX周期第132周期活跃,已追踪准备阶段
STX余额29.05 STX(低于stacking最低要求——已正确标记)
API连通性Hiro PoX v3端点状态正常

Safety notes

安全说明

  • Read-only. No delegation, no signing, no chain writes.
  • 10-second timeout on all API calls via fetchWithTimeout.
  • No secrets. Uses only public PoX data.
  • 只读模式:不涉及委托、签名或链上写入操作。
  • 10秒超时:所有API调用通过fetchWithTimeout设置10秒超时。
  • 无敏感信息:仅使用公开的PoX数据。

Origin

来源

Winner of AIBTC x Bitflow Skills Pay the Bills competition. Original author: @secret-mars Competition PR: https://github.com/BitflowFinance/bff-skills/pull/210
AIBTC x Bitflow Skills Pay the Bills竞赛获胜作品。 原作者:@secret-mars 竞赛PR:https://github.com/BitflowFinance/bff-skills/pull/210