后端与数据库

pay-for-service

coinbase/agenti…t-skills

Make a paid API request to an x402 endpoint with automatic USDC payment. Use when you or the user want to call a paid API, make an x402 request, use a paid service, or pay for an API call. Use after finding a service with search-for-service.

  • 2946 次安装
  • 127 星标
  • 收录于

安装命令

npx skills add https://github.com/coinbase/agentic-wallet-skills --skill pay-for-service

SKILL.md

Making Paid x402 Requests

Use the npx awal@2.10.0 x402 pay command to call paid API endpoints with automatic USDC payment on Base.

Confirm wallet is initialized and authed

npx awal@2.10.0 status

If the wallet is not authenticated, refer to the authenticate-wallet skill.

Command Syntax

npx awal@2.10.0 x402 pay <url> [-X <method>] [-d <json>] [-q <params>] [-h <json>] [--max-amount <n>] [--json]

Options