agentcash
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAgentCash — Wallet and Paid API Access
AgentCash — 钱包与付费API访问
Call any x402-protected API with automatic wallet authentication and payment. No API keys or subscriptions required.
通过自动钱包认证和支付功能,调用任意受x402保护的API。无需API密钥或订阅服务。
Wallet
钱包功能
| Task | Command |
|---|---|
| Check total balance | |
| Funding addresses and deposit links | |
| Redeem invite code | |
| Open guided funding flow | |
Use when you only need to know whether paid calls are affordable. Use only when the user needs deposit links or network-specific wallet addresses.
balanceaccountsIf the balance is 0, tell the user to run , use for deposit links, or redeem an invite code with .
npx agentcash@latest fundnpx agentcash@latest accountsnpx agentcash@latest redeem <code>| 任务 | 命令 |
|---|---|
| 查看总余额 | |
| 获取充值地址与存款链接 | |
| 兑换邀请码 | |
| 打开引导式充值流程 | |
当仅需确认是否有足够余额进行付费调用时,使用命令。仅当用户需要存款链接或特定网络的钱包地址时,使用命令。
balanceaccounts如果余额为0,请告知用户运行,或使用获取存款链接,也可通过兑换邀请码。
npx agentcash@latest fundnpx agentcash@latest accountsnpx agentcash@latest redeem <code>Service Workflow
服务工作流
- Run to inspect the origin.
npx agentcash@latest discover <origin> - Run before calling a new endpoint.
npx agentcash@latest check <endpoint-url> - Run for both paid and SIWX routes.
npx agentcash@latest fetch <url> - Treat as a deprecated alias kept only for compatibility.
npx agentcash@latest fetch-auth <url>
- 运行来检查源地址。
npx agentcash@latest discover <origin> - 在调用新端点前,运行。
npx agentcash@latest check <endpoint-url> - 对于付费和SIWX路由,运行。
npx agentcash@latest fetch <url> - 是已弃用的别名,仅为兼容保留。
npx agentcash@latest fetch-auth <url>
Important Rules
重要规则
- Discover before guessing endpoint paths.
- Read the field from discovery output.
instructions - Check before expensive operations.
balance - Use the same across related requests when a workflow spans multiple calls.
--payment-network
- 不要猜测端点路径,先执行discover操作。
- 阅读discover输出结果中的字段。
instructions - 在执行高成本操作前,先检查余额。
- 当工作流包含多个调用时,相关请求需使用相同的参数。
--payment-network