the402 endpoint detail

← All endpoints

evm-canon-base.onrender.com encode swap

https://evm-canon-base.onrender.com/encode/swap

answers 402

Build Uniswap-V2-style exact-input swap calldata with the token path

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.01
Network
base
Pay to
0x8797b596a56f8b2d46f428fca2e6ac2a62a353ee
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
221 ms
Payment options
1 usable of 1
Last checked
2026-08-15T14:31:01.369Z (1h ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fevm-canon-base.onrender.com%2Fencode%2Fswap"