how-do-i-pay
Understand the signing steps for x402 payments: authorization fields, EIP-712 or Solana signing, and retry logic. Start after decoding your challenge.
Instructions
The signing-steps lesson for an x402 payment: the authorization fields, the EIP-712 / Solana signing operation, and the X-PAYMENT retry — the same steps regardless of your specific challenge. Decode your own challenge first with read-this-challenge. Provisions explains what to run; it never signs for you.
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": "how-do-i-pay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| challenge | No | Optional: the decoded challenge you're working from. The steps are the same either way — this lesson does not tailor per-challenge (use read-this-challenge for that). |