🌱 x402 payment acceptance demo
Live page, mock acceptance leg. Step 1 calls the real production paid endpoint with no payment and shows the real 402 envelope. Step 2 shows the accepted retry shape without claiming settlement.
service: evm-tx-toolkitnetwork: eip155:8453payTo: 0x1664530DC2A1CA350B1dbaD1Fc1F1a70c90fe4deendpoint: POST /v1/tx/explain
1. Real production paywall
This fetches https://evm-tx-toolkit.mtree.workers.dev/v1/tx/explain without X-PAYMENT.
Not run yet.
2. Mock accepted retry
This is the live acceptance visualization: the exact headers/shape an agent should expect after a facilitator-accepted retry. It is marked mock until a funded buyer wallet runs the real settlement path.
Not run yet.
Contract
1. Client calls paid endpoint → HTTP 402 with x402Version + accepts[]. 2. Client signs/pays and retries with X-PAYMENT. 3. Service returns HTTP 200 and X-PAYMENT-RESPONSE. 4. captures X-PAYMENT-RESPONSE into paid_calls telemetry.