Optimism

Optimism

MAINNET

Full x402 v2 support for Optimism Mainnet. Settle payments on the foundation of the Superchain.

$0.00002301minimum payment
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 Optimism

exact scheme (EIP-3009)

Fixed-price payments via transferWithAuthorization. Upto scheme coming when the x402 Foundation deploys the proxy.

Superchain alignment

Positioned at the center of the emerging multi-chain OP ecosystem.

Gas-free for buyers

Dexter sponsors ETH 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 chains

Optimism quickstart

Install
npm i @dexterai/x402
Usage
import { createX402Server } from '@dexterai/x402/server';

const server = createX402Server({
  payTo: 'YourOptimismAddress',
  network: 'eip155:10',
  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();