Get x402 payment requirements
x402_checkoutReturns live x402 payment requirements—price, network, USDC asset, payTo address, and accepts entries—for a paid FractalAI resource so you know how much and how to pay before signing.
Instructions
Return the live x402 (HTTP 402) payment requirements for a paid FractalAI resource: price, network, USDC asset, payTo address and the accepts[] entries (EIP-3009 gasless and txHash fallback). Free — it never moves funds. Use it before pqc_sign / seal_provenance / attest_decision to learn exactly how much and how to pay. Pass resource='manifest' for the full .well-known/x402.json.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource": "<resource>"
},
"name": "x402_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | Which paid resource to price, or 'manifest' for the whole x402 manifest. |