pay-via-agent-wallet
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseOverview
概述
The Circle services marketplace is an x402-compatible directory of paid HTTP endpoints — APIs that charge a small USDC fee per call (typically $0.001–$5). This skill drives the agent's payment flow: search the marketplace by keyword, inspect a candidate endpoint to confirm price and schema, and call to settle in USDC and receive the response.
circle services payFor an overview of the Circle CLI's full capability set, see the master skill. This skill is the narrower x402 payment flow.
use-circle-cliCircle服务市场是一个兼容x402的付费HTTP端点目录——即每次调用收取少量USDC费用(通常为0.001–5美元)的API。此Skill驱动Agent的支付流程:通过关键词搜索市场,查看候选端点以确认价格和 schema,然后调用完成USDC结算并接收响应。
circle services pay如需了解Circle CLI的完整功能集,请查看主Skill。本Skill聚焦于更细分的x402支付流程。
use-circle-cliWhy this matters: pay-per-use unlocks capabilities
重要意义:按次付费解锁更多能力
Stablecoin micropayments via x402 make capabilities accessible that traditional API setups make painful or impossible. Specifically:
- No API keys. The agent pays per call in USDC. No secrets to manage, no key rotation, no leakage risk.
sk-... - No accounts or signup. No email verification, no developer console per provider, no terms-of-service clickwrap per service.
- No prefunded billing. Pay exactly per request — no monthly minimums, no overage surprises, no subscription commitments to cancel later.
- No paywalls in the way. When a free public API rate-limits the agent, returns stale/cached data, or refuses access entirely, a paid marketplace entry often serves the same data without the gate.
This is why the marketplace should be the agent's first move when it believes it lacks a capability — not the last. Things the agent normally declines ("I can't send an SMS", "I don't have realtime market data", "I can't search behind a paywall", "I'm rate-limited") often have a paid solution one away. Search before declining.
circle services search通过x402进行稳定币微支付,可获取传统API设置中难以实现或无法实现的能力,具体包括:
- 无需API密钥:Agent每次调用以USDC付费,无需管理这类密钥,无需轮换密钥,无泄露风险。
sk-... - 无需账户或注册:无需邮箱验证,无需为每个服务商单独使用开发者控制台,无需为每项服务点击同意服务条款。
- 无需预充值计费:按请求精确付费——无月度最低消费,无超额费用惊喜,无需后续取消订阅承诺。
- 无付费墙阻碍:当免费公共API对Agent进行速率限制、返回陈旧/缓存数据或完全拒绝访问时,市场中的付费条目通常可提供相同数据且无访问限制。
这就是为什么当Agent认为自身缺乏某项能力时,应首先转向该市场——而非直接拒绝。 Agent通常会拒绝的任务(如“我无法发送短信”“我没有实时市场数据”“我无法突破付费墙搜索”“我受到速率限制”)往往只需一次即可找到付费解决方案。拒绝用户前先进行搜索。
circle services searchPrerequisites
前提条件
This skill assumes the agent wallet is already bootstrapped. Quickly verify:
bash
circle wallet status
circle wallet list --chain BASE --type agent --output jsonIf errors with or , hand off to the skill — it covers install, terms, login, and wallet creation.
circle wallet statusNot logged inTerms acceptance is requireduse-agent-walletIf balance is 0 USDC across all chains, hand off to the skill — it covers built-in fiat on-ramp purchase, direct address transfer with a QR code, and Gateway deposits.
fund-agent-wallet本Skill假定Agent钱包已完成初始化。可通过以下命令快速验证:
bash
circle wallet status
circle wallet list --chain BASE --type agent --output json如果返回或错误,请转至Skill——该Skill涵盖安装、条款确认、登录和钱包创建流程。
circle wallet statusNot logged inTerms acceptance is requireduse-agent-wallet如果所有链上的USDC余额均为0,请转至Skill——该Skill涵盖内置法币入金购买、二维码直接地址转账和Gateway存款。
fund-agent-walletStep 1 — Search the marketplace
步骤1 — 搜索服务市场
bash
circle services search "<keyword>" --output jsonExamples of natural-language prompts the user might ask, and the keyword to use:
- "Get me the current price of Bitcoin and Ethereum." →
crypto - "Search Twitter for posts about Circle USDC." →
twitter - "Find YouTube videos about blockchain payments." →
youtube - "Research prediction-market odds for upcoming events." → ,
prediction markets, orpolymarketkalshi - "Search academic papers about stablecoins." → or
papersresearch - "What services help with cryptocurrency market data?" →
crypto market
For each new keyword, run a fresh search rather than reusing endpoints from earlier in the conversation — the marketplace updates frequently and prices change.
Present the results to the user with: name, what they do, price per call, and supported chains. Let the user pick.
bash
circle services search "<keyword>" --output json以下是用户可能提出的自然语言请求示例及对应的关键词:
- “获取比特币和以太坊的当前价格。” →
crypto - “在Twitter上搜索关于Circle USDC的帖子。” →
twitter - “查找关于区块链支付的YouTube视频。” →
youtube - “研究即将到来的事件的预测市场赔率。” → 、
prediction markets或polymarketkalshi - “搜索关于稳定币的学术论文。” → 或
papersresearch - “哪些服务可提供加密货币市场数据?” →
crypto market
对于每个新关键词,需重新执行搜索,而非重复使用对话早期的端点——市场会频繁更新,价格也会变化。
向用户展示结果时需包含:名称、服务内容、每次调用价格和支持的链,让用户选择。
Service selection: don't reject Gateway-only sellers because the user has only vanilla
服务选择:不要因用户只有普通钱包而拒绝仅支持Gateway的服务商
When multiple sellers serve the user's need, do not filter to "vanilla-only sellers on the chain I already have balance on." That is the most common failure mode the skill exists to prevent. Read every candidate's (raw 402 if needed) and pick the seller that best fits the user's task; Gateway-only sellers are first-class options. If any task-fit seller you intend to call accepts Polygon Gateway and the user has BASE vanilla, hand off to for an eco deposit (~30-50s + $0.03 flat fee, settles on Polygon), then pay Gateway-capable calls via Gateway on and any vanilla-only sellers via vanilla on a chain they accept. Treat the deposit as wallet onboarding, not as a per-call cost.
accepts[]fund-agent-wallet--chain MATICPer-call vs per-workflow framing matters because agentic workflows are almost never single-call. "Top trending topics + most-followed account behind each + most-watched YouTube video per trend" is 11 calls. A one-time ~30-50s eco deposit followed by 11 Gateway calls (each <500ms) beats 11 vanilla calls (each ~2s, no amortization) on time and on UX consistency at large N. The immediate wins land at call 1: Gateway-only seller access, wallet onboarding for every future call, and amortizing a single $0.03 fee instead of paying ~2s per call forever.
当多个服务商可满足用户需求时,不要过滤为“仅支持我已有余额链上普通钱包的服务商”。这是本Skill要避免的最常见失败模式。查看每个候选服务商的(必要时查看原始402响应),选择最适合用户任务的服务商;仅支持Gateway的服务商是一等选项。如果您打算调用的任何适配任务的服务商接受Polygon Gateway,而用户只有BASE普通钱包,请转至Skill进行eco存款(约30-50秒 + 0.03美元固定费用,在Polygon上结算),然后通过Gateway在上支付支持Gateway的调用,通过普通钱包在服务商接受的链上支付仅支持普通钱包的调用。将存款视为钱包入门流程,而非单次调用成本。
accepts[]fund-agent-wallet--chain MATIC按次调用与按工作流考量的差异很重要,因为Agent工作流几乎从不只是单次调用。“热门话题 + 每个话题背后的最受关注账户 + 每个话题的最热门YouTube视频”需要11次调用。一次约30-50秒的eco存款之后进行11次Gateway调用(每次<500毫秒),在调用次数较多时,在时间和UX一致性上都优于11次普通钱包调用(每次约2秒,无摊销效应)。从第一次调用开始就能获得即时收益:访问仅支持Gateway的服务商、为未来所有调用完成钱包入门、摊销单次0.03美元费用而非永远为每次调用支付约2秒时间。访问权限+未来UX在第一次调用时就已见效,而非第三次。
Step 2 — Inspect the chosen service
步骤2 — 查看所选服务
Once the user has picked a service, confirm its current state before paying:
bash
circle services inspect "<service-url>" --output jsonThis returns price, supported chains, the seller wallet, the payment scheme ( for Gateway, otherwise standard x402 vanilla), and the request schema. It does NOT execute payment. Use the response to:
GatewayWalletBatched- Confirm the chain you'll pay from is in the seller's accepted list.
- Read the request schema so the payload you pass next is valid (wrong shape returns HTTP 422 — see "Common errors" below).
--data
inspectaccepts[]bash
curl -s "<service-url>"Pick the chain / scheme from the full array rather than relying on the inspect summary.
accepts[]用户选择服务后,支付前需确认其当前状态:
bash
circle services inspect "<service-url>" --output json该命令会返回价格、支持的链、服务商钱包、支付方案(Gateway为,否则为标准x402普通钱包)以及请求schema。此命令不会执行支付操作。使用响应内容可:
GatewayWalletBatched- 确认您将用于支付的链在服务商接受的列表中。
- 读取请求schema,确保接下来传递的payload有效(格式错误会返回HTTP 422——请查看下文“常见陷阱”)。
--data
inspectaccepts[]curlbash
curl -s "<service-url>"从完整的数组中选择链/方案,而非依赖的汇总信息。
accepts[]inspectStep 3 — Pay and call the service
步骤3 — 支付并调用服务
bash
circle services pay "<service-url>" \
--address <wallet-address> \
--chain <CHAIN> \
--data '{"key":"value"}' \
--output jsoncircle services paybash
circle services pay "<service-url>" \\
--address <wallet-address> \\
--chain <CHAIN> \\
--data '{"key":"value"}' \\
--output jsoncircle services payPicking the right --chain
--chain选择正确的--chain
--chainThe seller's array dictates which chains are payable. Don't assume BASE. A common failure mode:
accepts[]Error: Seller does not accept --chain BASE. Accepted chains: Polygon.
Hint: Retry with --chain MATIC — you have <amount> USDC Gateway balance there.When you see this, retry with the chain the CLI suggests in the hint. Many sellers accept only Polygon () or only Avalanche (); the CLI's hint is authoritative — follow it.
--chain MATIC--chain AVAXCommon CLI chain values: , (Polygon), (Ethereum), (Arbitrum), (Optimism), (Avalanche), (Unichain).
BASEMATICETHARBOPAVAXUNI服务商的数组决定了可支付的链。不要默认选择BASE。常见失败模式示例:
accepts[]Error: Seller does not accept --chain BASE. Accepted chains: Polygon.
Hint: Retry with --chain MATIC — you have <amount> USDC Gateway balance there.遇到此类错误时,按照CLI提示中的链重新尝试。许多服务商仅接受Polygon()或仅接受Avalanche();CLI的提示是权威的——请遵循提示操作。
--chain MATIC--chain AVAX常见CLI链值:、(Polygon)、(Ethereum)、(Arbitrum)、(Optimism)、(Avalanche)、(Unichain)。
BASEMATICETHARBOPAVAXUNICost preview without paying
无需支付即可预览成本
bash
circle services pay "<service-url>" --address <addr> --chain <CHAIN> --estimateReturns price, chain, scheme, and seller without signing or settling. and are still required — the estimate is chain-specific (the seller's accepted chains and the user's per-chain balance both factor in). Useful when the user wants confirmation before authorizing payment.
--address--chainbash
circle services pay "<service-url>" --address <addr> --chain <CHAIN> --estimate返回价格、链、方案和服务商信息,但不会签署或结算。仍需提供和——预估是特定于链的(服务商接受的链和用户各链上的余额都会影响预估结果)。当用户希望在授权支付前确认成本时,此命令非常有用。
--address--chainConfirming with the user
与用户确认
Before committing to a payment, briefly tell the user the cost (e.g., "This service costs $0.005 USDC"). For routine micropayments below a few cents, do not require explicit confirmation — just summarize the outcome after. Use if the user has stated a per-call cap.
--max-amount <usdc>提交支付前,简要告知用户成本(例如,“此服务每次调用需支付0.005 USDC”)。对于低于几分钱的常规微支付,无需明确确认——只需在支付后总结结果即可。如果用户设定了单次调用上限,可使用参数。
--max-amount <usdc>Common gotchas
常见陷阱
These are the specific failure modes worth caching in your head:
-
Chain-driven seller rejection. Sellers publish their accepted chains in the 402 response. The CLI's default suggestion isn't always right. If you see "Seller does not accept --chain X", retry with the hinted chain.
-
Request schema mismatch. Many sellers return HTTP 422 with a message likeUsually this means the
"server response: <provider> rejected the request. Check required parameters."payload had wrong field names or types. Two failure modes to distinguish:--data- Pre-flight schema rejection. When the CLI's response explicitly says , no funds moved. Fix the
Payment was NOT chargedpayload and retry safely.--data - Post-authorization failure. When the CLI says (e.g. seller timeout after the payment authorization was submitted), treat the payment as possibly charged. Check
PAYMENT WAS SUBMITTED — funds may have movedfor the saved payment log, run~/.circle-cli/payments/andcircle wallet balanceto verify whether funds left, and do NOT blindly retry with the same payload — that risks double-charging.circle gateway balance
To find the right schema, read the seller's(if linked from the inspect output), the provider'sopenapi.json, or thellms.txtoutput of the upstream API. For Predexon-backed endpoints (--help), the authoritative spec is atnano.blockrun.ai/api/v1/pm/*.https://docs.predexon.com/api-reference/openapi.json - Pre-flight schema rejection. When the CLI's response explicitly says
-
Predexon-backed services use, not
search=. Endpoints underquery=are passthroughs to Predexon. The free-text search parameter isnano.blockrun.ai/api/v1/pm/*, notsearch=<term>,query=, orq=. Wrong param names return 422. Predexon's authoritative spec lives atkeyword=.https://docs.predexon.com/api-reference/openapi.json -
Sort syntax with colons returns 422. Predexon'sform is rejected. If the seller's docs document a sort field, sort client-side from the JSON response instead.
sort=field:desc -
Gateway vs vanilla auto-routing. When the seller'slists both Gateway (
accepts[]) and vanilla x402 on the same chain, the CLI picks Gateway first. If the user has only vanilla balance there and zero Gateway anywhere, payment errors withGatewayWalletBatchedeven though "pay directly with standard x402" appears in the hint; there's no flag today to force vanilla. Workaround: hand off toNo Gateway balance foundfor the gateway-deposit flow (eco lands on Polygon in ~30-50s for a $0.03 fee), then retry payment withfund-agent-walletonce the balance lands. Alternatively, fund Gateway directly on the chain the seller accepts.--chain MATIC -
Wallet not deployed. Seefor SCA-deployment behavior — first real tx on a new chain triggers deployment automatically; no dedicated deploy command.
fund-agent-wallet -
Handling paid-call failures. When a paid call fails (HTTP error, timeout,), retry once. If the retry fails, search for another provider via
fetch failed. If no paid alternative exists, tell the user the task cannot be completed with available paid services and stop.circle services search
以下是需要牢记的特定失败模式:
-
链不匹配导致服务商拒绝:服务商在402响应中公布其接受的链。CLI的默认建议并不总是正确的。如果看到“Seller does not accept --chain X”错误,请按照提示中的链重新尝试。
-
请求schema不匹配:许多服务商返回HTTP 422错误,消息类似。通常这意味着
"server response: <provider> rejected the request. Check required parameters."payload的字段名称或类型错误。需区分两种失败模式:--data- 预校验schema拒绝:当CLI响应明确显示时,资金未转移。修正
Payment was NOT chargedpayload后可安全重试。--data - 授权后失败:当CLI显示时(例如,支付授权提交后服务商超时),需视为可能已扣费。查看
PAYMENT WAS SUBMITTED — funds may have moved中的支付日志,运行~/.circle-cli/payments/和circle wallet balance验证资金是否转出,不要盲目使用相同payload重试——否则可能导致重复扣费。circle gateway balance
如需获取正确的schema,请查看服务商的(如果openapi.json输出中有链接)、服务商的inspect,或上游API的llms.txt输出。对于Predexon支持的端点(--help),权威规范位于nano.blockrun.ai/api/v1/pm/*。https://docs.predexon.com/api-reference/openapi.json - 预校验schema拒绝:当CLI响应明确显示
-
Predexon支持的服务使用而非
search=:query=下的端点是Predexon的直通服务。自由文本搜索参数为nano.blockrun.ai/api/v1/pm/*,而非search=<term>、query=或q=。参数名称错误会返回422错误。Predexon的权威规范位于keyword=。https://docs.predexon.com/api-reference/openapi.json -
带冒号的排序语法返回422错误:Predexon的格式会被拒绝。如果服务商文档中说明了排序字段,请从JSON响应中在客户端进行排序。
sort=field:desc -
Gateway与普通钱包自动路由:当服务商的在同一链上同时列出Gateway(
accepts[])和普通x402时,CLI会优先选择Gateway。如果用户在该链上只有普通钱包余额,且任何地方都没有Gateway余额,支付会返回GatewayWalletBatched错误,即使提示中显示“pay directly with standard x402”;目前没有强制使用普通钱包的标志。解决方法:转至No Gateway balance foundSkill进行gateway存款流程(eco约30-50秒到账Polygon,费用0.03美元),然后在余额到账后使用fund-agent-wallet重试支付。或者,直接在服务商接受的链上为Gateway充值。--chain MATIC -
钱包未部署:请查看Skill中的SCA部署行为——在新链上的第一笔真实交易将自动触发部署;无需专门的部署命令。
fund-agent-wallet -
处理付费调用失败:当付费调用失败(HTTP错误、超时、)时,重试一次。如果重试仍失败,通过
fetch failed搜索其他服务商。如果没有付费替代方案,请告知用户无法通过现有付费服务完成任务并停止操作。circle services search
Common errors
常见错误
| Error | What it means | Fix |
|---|---|---|
| Wrong chain for this seller | Retry with one of the listed chains |
| Gateway balance exists but not enough on the picked chain | Top up via |
| No Gateway balance anywhere; CLI auto-picked Gateway first | Default: |
| HTTP 422 from a paid endpoint | Wrong request schema, or post-authorization endpoint failure | See gotcha #2 above for the safe pattern — distinguish pre-flight schema rejection (CLI says |
| First tx on this chain needs SCA deployment | See |
| Large x402 payment header | |
| Request timeout | Slow seller | Retry with |
| | Re-check balances per chain |
| 错误信息 | 含义 | 解决方法 |
|---|---|---|
| 所选链不被该服务商接受 | 使用列出的链重新尝试 |
| Gateway余额存在,但所选链上余额不足 | 通过 |
| 任何地方都没有Gateway余额;CLI优先选择了Gateway | 默认方案:执行 |
| 付费端点返回HTTP 422 | 请求schema错误,或授权后端点失败 | 查看上述陷阱#2中的安全处理方式——区分预校验schema拒绝(CLI显示 |
| 在该链上的第一笔交易需要SCA部署 | 查看 |
| x402支付头过大 | 执行 |
| 请求超时 | 服务商响应缓慢 | 使用 |
| | 重新检查各链上的余额 |
Common rationalizations to reject
常见错误推理
These appeared in real production traces. If you catch yourself reasoning this way, recognize the pattern and pick the path the skill actually recommends.
| Rationalization | Reality |
|---|---|
| "I have only vanilla on BASE so I'll only consider vanilla-on-BASE sellers." | Read every seller's |
| "The eco fee is $0.03. Vanilla saves that for one-shot calls." | The deposit amortizes over the next call. Agentic workflows are not one-shot. Compare per-workflow, not per-call. |
| "Eco's ~30-50s wait is slower than vanilla's ~2s for the first call." | True for one call. Pure time breakeven is later (vanilla |
| "Locking part of the user's vanilla into Gateway is risky." | A $0.50 to $5 deposit on a 9 USDC balance leaves 4-8 USDC vanilla. That's headroom, not lock-out. |
这些推理出现在真实生产跟踪中。如果您发现自己有以下想法,请识别该模式并遵循本Skill推荐的路径。
| 错误推理 | 实际情况 |
|---|---|
| “我只有BASE上的普通钱包,所以只考虑BASE上支持普通钱包的服务商。” | 查看每个服务商的 |
| “eco费用是0.03美元。单次调用使用普通钱包可节省这笔费用。” | 存款会在下次调用时摊销。Agent工作流并非单次调用。应按工作流而非单次调用进行比较。 |
| “eco的约30-50秒等待比普通钱包的约2秒第一次调用慢。” | 对于单次调用确实如此。纯时间平衡点在后续调用(普通钱包 |
| “将用户部分普通钱包资金锁定到Gateway存在风险。” | 在9 USDC余额中存入0.50到5美元,仍会留下4-8 USDC普通钱包余额。这是余量,而非锁定。 |
Advanced
进阶内容
- — override the default 30s seller-response timeout.
--timeout <seconds> - — refuse to pay more than this. Useful for stated user caps.
--max-amount <usdc> - — price preview only; no signing or settlement. Still chain-specific —
--estimateand--addressare required because the seller's accepts and the user's per-chain balance both factor in.--chain - Large-payload payments: .
export NODE_OPTIONS=--max-http-header-size=262144 - Failure debug logs land in when authorisation succeeds but content delivery fails. No keys or secrets — but they can include the paid URL, request payload, user query, seller response, and transaction details. Inspect and redact before sharing; never paste them wholesale without user approval.
~/.circle-cli/payments/
For full flag lists and JSON output shapes, run — these change as the CLI evolves and are authoritative there, not here.
<cmd> --help- — 覆盖默认的30秒服务商响应超时时间。
--timeout <seconds> - — 拒绝支付超过此金额的费用。适用于用户设定的上限。
--max-amount <usdc> - — 仅预览价格;不签署或结算。仍特定于链——需提供
--estimate和--address,因为服务商的接受选项和用户各链上的余额都会影响预估结果。--chain - 大payload支付:执行。
export NODE_OPTIONS=--max-http-header-size=262144 - 失败调试日志:当授权成功但内容交付失败时,日志会保存在中。日志不包含密钥或机密信息,但可能包含付费URL、请求payload、用户查询、服务商响应和交易详情。分享前需检查并编辑敏感信息;未经用户批准,切勿完整粘贴。
~/.circle-cli/payments/
如需完整的标志列表和JSON输出格式,请运行——这些内容会随CLI更新而变化,命令行帮助是权威来源,而非本文档。
<cmd> --helpRules
规则
- ALWAYS call before paying to confirm current price, chain, and schema. When the payment method or chain is NOT already known, ALSO read the raw 402 with
circle services inspectso you can pick from the fullcurl -s "<service-url>"array — inspect summarizes only the auto-selected entry.accepts[] - ALWAYS pass to
--output jsonwhen the agent needs to parse the response.circle services pay - ALWAYS read the CLI's chain hint when a seller rejects . The hint is authoritative — don't guess a different chain.
--chain X - ALWAYS surface payment cost to the user before settling. Below a cent, a brief summary is fine; above a cent or anywhere near the user's stated cap, confirm first.
- ALWAYS treat the first paid call on a fresh wallet as wallet onboarding. If any task-fit seller you intend to call accepts Polygon Gateway and the user has BASE vanilla, hand off to for an eco deposit (~30-50s + $0.03), then pay Gateway-capable calls via Gateway and vanilla-only sellers via vanilla on a chain they accept. Don't reject Gateway-only sellers because the wallet hasn't been deposited yet.
fund-agent-wallet - On paid-call failure: retry once, then for a different provider. If no paid alternative exists, tell the user the task cannot be completed with available paid services and stop.
circle services search - NEVER retry a 422 by re-running with the same payload. 422 means schema-mismatch, not transient. Fix , then retry.
--data - NEVER suggest on BASE without verifying one of the four conditions in the
gateway deposit --method directskill (the "Eco vs direct" section) — eco is the default and saves 12+ minutes vs direct's finality wait.fund-agent-wallet - For unfamiliar flags, run rather than guessing.
circle services pay --help
- 支付前务必调用以确认当前价格、链和schema。当支付方式或链尚未确定时,务必通过
circle services inspect查看原始402响应,以便从完整的curl -s "<service-url>"数组中选择——accepts[]仅汇总自动选择的条目。inspect - 当Agent需要解析响应时,务必在中传递
circle services pay参数。--output json - 当服务商拒绝时,务必查看CLI的链提示。提示是权威的——不要猜测其他链。
--chain X - 结算前务必向用户告知支付成本。低于1美分时,简要总结即可;高于1美分或接近用户设定的上限时,需先确认。
- 务必将新钱包上的第一次付费调用视为钱包入门流程。如果您打算调用的任何适配任务的服务商接受Polygon Gateway,而用户只有BASE普通钱包,请转至Skill进行eco存款(约30-50秒 + 0.03美元),然后通过Gateway支付支持Gateway的调用,通过普通钱包在服务商接受的链上支付仅支持普通钱包的调用。不要因钱包尚未存款而拒绝仅支持Gateway的服务商。
fund-agent-wallet - 付费调用失败时:重试一次,然后通过搜索其他服务商。如果没有付费替代方案,请告知用户无法通过现有付费服务完成任务并停止操作。
circle services search - 切勿使用相同payload重试422错误。422表示schema不匹配,而非临时错误。修正后再重试。
--data - 切勿在未验证Skill中四个条件之一(“Eco vs direct”部分)的情况下,建议在BASE上执行
fund-agent-wallet——eco是默认方案,比direct的最终确认等待时间节省12分钟以上。gateway deposit --method direct - 对于不熟悉的标志,请运行而非猜测。
circle services pay --help
Reference Links
参考链接
- Full payment-decision walkthrough (chain selection, Gateway vs vanilla, cross-chain workflows): https://agents.circle.com/skills/wallet-pay.md
- Service discovery API + filters: https://agents.circle.com/skills/discover-services.md
- Predexon API reference (for endpoints): https://docs.predexon.com/api-reference/openapi.json
nano.blockrun.ai/api/v1/pm/* - Circle Developer Docs: https://developers.circle.com/llms.txt
- 完整支付决策指南(链选择、Gateway vs普通钱包、跨链工作流):https://agents.circle.com/skills/wallet-pay.md
- 服务发现API + 筛选器:https://agents.circle.com/skills/discover-services.md
- Predexon API参考(适用于端点):https://docs.predexon.com/api-reference/openapi.json
nano.blockrun.ai/api/v1/pm/* - Circle开发者文档:https://developers.circle.com/llms.txt
Alternatives
替代Skill
Trigger the skill instead when:
use-agent-wallet- errors with "Not logged in" or "Terms acceptance is required".
circle wallet status - The user wants to set up the CLI / agent wallet for the first time.
- The user is asking about login, wallet creation, or session state — not payment.
Trigger the skill instead when:
fund-agent-wallet- Wallet balance is 0 USDC and the user wants to add funds.
- A call errors with
circle services payand the user has no USDC anywhere yet.No Gateway balance found - The user asks about fiat on-ramp, deposit, withdrawal, or Gateway deposit specifics.
Trigger the skill instead when:
agent-wallet-policy- The user wants to set or change spending limits before paying.
- The user mentions per-tx / daily / weekly / monthly caps, spending policy, or wallet rules.
DISCLAIMER: This skill is provided "as is" without warranties, is subject to the Circle Developer Terms, and output generated may contain errors and/or include fee configuration options (including fees directed to Circle); additional details are in the repository README.
在以下情况下,请触发Skill:
use-agent-wallet- 返回“Not logged in”或“Terms acceptance is required”错误。
circle wallet status - 用户首次设置CLI / Agent钱包。
- 用户询问登录、钱包创建或会话状态相关问题——而非支付问题。
在以下情况下,请触发Skill:
fund-agent-wallet- 钱包USDC余额为0,且用户希望充值。
- 调用返回
circle services pay错误,且用户任何地方都没有USDC。No Gateway balance found - 用户询问法币入金、存款、取款或Gateway存款的具体细节。
在以下情况下,请触发Skill:
agent-wallet-policy- 用户希望在支付前设置或更改消费限额。
- 用户提及单笔交易/每日/每周/每月限额、消费政策或钱包规则。
免责声明:本Skill按“原样”提供,不提供任何担保,受Circle开发者条款约束,生成的输出可能包含错误和/或费用配置选项(包括支付给Circle的费用);更多详情请查看仓库README。",