x402 facilitator | Optimism MainnetMAINNET
Optimism

Optimism Mainnet

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

How it works on Optimism

Buyers pay on Optimism. Dexter verifies the x402 payment, signs the receipt, and settles to the seller on Optimism.

OptimismBuyer

Pay on Optimism

DexterDexter

Verify + settle

OptimismSeller

Receive on Optimism

Capabilities

Everything you need to accept x402 payments on Optimism.

x402 v2 on Optimism

Full v2 support on Optimism Mainnet with chain-native receipts.

Superchain alignment

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

Public facilitator URL

One endpoint shared across every supported chain.

Gas-free for buyers

Dexter sponsors ETH fees, buyers only need USDC.

Integration & resources

Use the same facilitator endpoint everywhere.

Facilitator URL

One endpoint for every chain. Point your x402 client here.

https://x402.dexter.cash
Use this same URL for all supported chains: Solana, Base, Polygon, Avalanche, and more.

Documentation

Follow the integration guide and migration notes for x402 v2.

Open Docs

Facilitator dashboard

Live status, settlement metrics, and chain coverage in one view.

Open Dashboard

Optimism quickstart

Drop this into your stack and start collecting payments.

Install
npm i @dexterai/x402
Example
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();