Radius Facilitator

x402 v2 facilitator operated by Radius, on mainnet and testnet

Networks and assets

One facilitator for mainnet and one for testnet. Each settles on Radius, Base and Tempo.

NetworkCAIP-2Asset AddressDecimals
Mainnet https://facilitator.radiustech.xyz
Radiuseip155:723487SBC 0x33ad9e4BD16B69B5BFdED37D8B5D9fF9aba014Fb6
Baseeip155:8453USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA029136
Baseeip155:8453SBC 0xfdcC3dd6671eaB0709A4C0f3F53De9a333d8079818
Tempoeip155:4217OUSD 0x20c0000000000000000000006a37DA5C996874BE6
Testnet https://facilitator.testnet.radiustech.xyz
Radius Testneteip155:72344SBC 0x33ad9e4BD16B69B5BFdED37D8B5D9fF9aba014Fb6
Base Sepoliaeip155:84532USDC 0x036CbD53842c5426634e7929541eC2318f3dCF7e6
Base Sepoliaeip155:84532SBC 0xf9FB20B8E097904f0aB7d12e9DbeE88f2dcd0F166
Tempo Moderatoeip155:42431OUSD 0x20c0000000000000000000006a37DA5C996874BE6

SBC has 18 decimals on Base mainnet and 6 elsewhere. OUSD (Open USD) is the stablecoin on Tempo, and Tempo Moderato is its testnet. SBC on Base Sepolia and OUSD on Tempo settle by Permit2 only. Testnet SBC is free from the Radius testnet faucet.

Schemes

exact runs on every network above and upto on all but Tempo. The facilitator pays the gas on each.

SchemeWhat the client signsWhat settlesTransfer methods
exactAn authorization for the stated priceThat amount, onceEIP-3009, Permit2
uptoA Permit2 authorization for a maximumThe actual amount, up to the maximum and as low as 0, once within the validity windowPermit2

Use upto for metered or asynchronous work, where the price is known only after the request is served.

Access

Start without signing up.

SettlementsPriceKey
First 1,000FreeNone
After 1,000—API key required

Why Radius

Radius isn't a typical blockchain. Its execution model is built for real-time payments, and this facilitator is designed to take full advantage.

How x402 payments work

x402 adds payment to HTTP. A server answers 402 Payment Required, the client signs a stablecoin payment, and the facilitator settles it.

  1. Client requests a paid resourceThe server responds with 402 Payment Required and a PAYMENT-REQUIRED header listing the payments it accepts: price, asset, network, and recipient.
  2. Client signs a paymentThe client signs one of the offers and retries with a PAYMENT-SIGNATURE header. Signing is off-chain: the client sends no transaction and pays no gas.
  3. Server forwards it to the facilitatorThe server sends the signed payment to POST /settle, or to POST /verify first to check it without settling.
  4. Facilitator settles on-chainThe facilitator checks the payment, submits it on the network the client chose, and pays the gas.
  5. Client gets the resourceThe server returns the resource with a PAYMENT-RESPONSE header carrying the transaction hash. On Radius, the whole exchange completes in under a second.

Endpoints

The facilitator exposes a minimal HTTP API. Integrate with any language or framework.

MethodPathDescription
POST/settleVerify and settle a signed payment on-chain
POST/verifyValidate a payment signature without settling
GET/supportedList supported payment kinds, networks, assets, and transfer methods
GET/healthService status

Getting started

Charge for a route with x402 middleware, then pay for it. Every example runs on testnet.

1. Check what the facilitator supports

Bash
curl https://facilitator.radiustech.xyz/supported

2. Charge for a route

The middleware answers unpaid requests with a 402 and settles paid ones through this facilitator. Your server needs a recipient address, not a private key.

Install: pnpm add radius-sdk @x402/core @x402/express express

server.tsTypeScript
import express from "express";
import { paymentMiddleware } from "@x402/express";
import { createRadiusServer } from "radius-sdk/server";

const radius = createRadiusServer({ network: "testnet" });
const app = express();

app.use(
  paymentMiddleware(
    radius.routes({
      payTo: "0xYourWalletAddress",
      routes: { "GET /api/lookup": "0.001 SBC" },
    }),
    radius.server,
  ),
);

app.get("/api/lookup", (_request, response) => response.json({ result: "ok" }));
app.listen(8787);

With radius-sdk, set network: "mainnet" to go live, or networks: ["mainnet", "base"] to also accept USDC on Base.

3. Pay for a request

Fund a wallet with testnet SBC from the faucet, then call the route.

Install: pnpm add radius-sdk @x402/core @x402/evm viem

pay.tsTypeScript
import { createRadiusFetch } from "radius-sdk/client";

const payFetch = createRadiusFetch({
  network: "testnet",
  signer: process.env.RADIUS_PRIVATE_KEY as `0x${string}`,
  maxPerRequest: "0.01 SBC", // hard ceiling per request
});

const response = await payFetch("https://seller.example/api/lookup");
console.log(response.status, await response.text());

More ways to build

Two options if you would rather not write the integration by hand.