Polygon
MAINNETFull x402 v2 support for Polygon mainnet. Settle payments with ultra-low fees and fast confirmations.
Stats byx402glecoming soon
The most comprehensive dataset on agent commerce that exists. Every facilitator, every resource, every chain — indexed in real time from Dexter's own data layer.
Capabilities on Polygon
exact + upto schemes
Fixed-price (exact) and usage-based billing (upto). Authorize a max, settle for actual usage.
Ultra-low fees
Polygon offers some of the lowest transaction fees in the ecosystem.
Gas-free for buyers
Dexter sponsors POL fees, buyers only need USDC.
Same API surface
All chains use the same API — one integration works everywhere.
Integration
https://x402.dexter.cash
Same endpoint for all supported chainsPolygon quickstart
Install
npm i @dexterai/x402Usage
import { createX402Server } from '@dexterai/x402/server';
const server = createX402Server({
payTo: 'YourPolygonAddress',
network: 'eip155:137',
facilitatorUrl: 'https://x402.dexter.cash',
});
const requirements = await server.buildRequirements({
amountAtomic: '30000',
resourceUrl: '/api/paid-endpoint',
});
res.setHeader('PAYMENT-REQUIRED', server.encodeRequirements(requirements));
res.status(402).end();