[FREE] Find out whether you can complete a payment to an x402 endpoint RIGHT NOW, before you
sign anything.
This answers a different question from check_x402_endpoint, which grades a seller's 402. This
one runs the buyer's side of the handshake end to end: it reads the endpoint's terms, confirms
they are complete enough to sign, calls the facilitator they name to see whether it actually
answers /supported and /verify, prices the settlement against live Base gas and the Chainlink
ETH/USD feed, and - when you pass a wallet - reads your on-chain balance to confirm it covers
the price.
Returns verdict.can_pay_now, a blocking list naming anything that genuinely stops the payment,
and a warnings list for defects you can work around yourself.
Two things it reports the way a buyer actually experiences them:
* A missing or dead facilitator is a WARNING, not a blocker, because you can carry your own.
* Gas is NOT needed to pay. Settling through a facilitator means signing an EIP-3009
authorization while the facilitator broadcasts, so the gas figures apply only if you
broadcast the settlement yourself.
endpoint_url is the full URL. method is the verb the endpoint expects, GET or POST.
wallet is an optional 0x address; pass it to check funding and self-broadcast headroom.
Free, unauthenticated, and it never sends a payment.
ConnectorNo auth