x402_fetch
Fetch x402-paid endpoints and handle 402 payment challenges automatically on Base, Solana, or Casper. Provide only a URL and optional body; no wallet or payment details required.
Instructions
Fetch any x402-paid endpoint — handles 402 payment challenge automatically on Base, Solana or Casper. The agent never sees wallets or payment details. Just provide a URL and optional body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL of the x402 endpoint (e.g. https://svm402.com/analyze) | |
| body | No | JSON body for POST requests (as string) | |
| chain | No | Force chain: 'solana', 'base' or 'casper'. Auto-detected if omitted. | |
| method | No | HTTP method: GET or POST (default: GET) |