Can this wallet pay this endpoint?
payment_readinessFree. One call to know if a wallet can pay an x402 endpoint right now: reads the endpoint's 402, checks the wallet's balance on each accepted network, and if it cannot pay, returns the cheapest fix (e.g. move USDC from the chain where it sits, with the exact bridge_quote arguments).
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": {
"address": "<address>"
},
"name": "payment_readiness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The paid endpoint URL (https). It is called once, without payment, to read its 402. | |
| body | No | JSON body for a POST url. | |
| method | No | HTTP method for url (default GET). | |
| address | Yes | The paying wallet. | |
| requirement | No | Instead of url: the PAYMENT-REQUIRED header value (base64) or the 402 JSON body. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | Cheapest step to become able to pay | |
| note | No | Notes | |
| ready | No | Can pay right now | |
| address | No | Payer | |
| options | No | Each payment option with balance and whether it is enough |