HTTP API 端点
The Livepeer CLI exposes a local control‑plane HTTP server (default localhost:5935) defined in webserver.go
这些端点是 仅限本地,由 CLI 和自动化工具使用 - 非公共网络 API。
常规命令(所有节点类型)
- 获取节点状态 - 显示节点信息、余额和配置
- 查看协议参数 - 显示协议状态和参数
- 列出已注册的协调器 - 显示可用的协调器
- 初始化轮次 - 初始化新的协议轮次
网关/主播命令
- 设置广播配置 - 配置转码选项和最大价格
- 设置每项功能的最大价格 - 为AI功能设置定价
- 存入广播资金 - 添加 ETH 以支付协调器
- 解锁广播资金 - 解锁存入的资金
- 提取广播资金 - 提取已解锁的资金
相关页面
CLI Reference
CLI Commands Reference
基础 URL
| Environment | URL |
|---|---|
| Gateway CLI API (default) | http://localhost:5935 |
| Orchestrator CLI API | http://localhost:7935 |
状态端点
Get node status
Display node information, balances, and configuration
View protocol parameters
Show protocol state and parameters
List registered orchestrators
Display available orchestrators on the network
质押端点
Bond tokens to an orchestrator
Delegate LPT tokens to an orchestrator
Unbond tokens
Remove delegated tokens (starts unbonding period)
Rebond tokens
Rebond tokens in unbonding state
协调器端点
Activate orchestrator
Multi-step process to become an orchestrator
Claim orchestrator rewards
Claim orchestrator rewards for current round
网关端点
Set broadcast configuration
Configure transcoding options and max price
Set max price per AI capability
Set pricing for specific AI pipelines and models