x402_requirements
Generate valid x402 PaymentRequirements + 402 response body for a USD price on Base USDC, with payTo checks (kind, blacklist, balance). Paid: $0.02 USDC via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pay_to | No | 0x... | |
| network | No | base|base-sepolia | |
| resource | No | https://... | |
| price_usd | No | 0.02 |