x402 Payment Protocol · Live on mainnet · Bazaar-listed

Agents don't open accounts. They pay per proof.

Any x402-capable agent can buy a post-quantum AI attestation for $0.005 USDC on Base — no API key, no signup, no invoice. One HTTP request pays for and returns an ML-DSA-65 signed record anchored to Hedera mainnet, verifiable by anyone, for free, forever. Machine-to-machine commerce producing machine-verifiable evidence.

x402 v2USDC · Base · eip155:8453ML-DSA-65 · FIPS 204Hedera HCS Mainnet
$0.005
Per attestation · USDC
$0.50
Signed monthly spend statement
0
API keys · accounts · invoices
Free
Public verification · forever
01 · The flow

Verify, mint, settle. A failed mint is never charged.

The endpoint speaks standard x402: an unpaid request returns a 402 with a machine-readable payment challenge — scheme, amount, asset, and pay-to address. The agent signs a USDC authorization, retries with the PAYMENT-SIGNATURE header, and the exchange is atomic in the direction that matters: payment is verified before the attestation is minted, and settled only after the mint succeeds.

STEP 1 · VERIFY

Payment checked first

The signed USDC authorization is verified against the challenge — amount, asset, network, timeout — before any work is done.

exact / eip155:8453 · 120s window
STEP 2 · MINT

Attestation created

ML-DSA-65 signature over the payload, Merkle-batched, anchored to Hedera Consensus Service. Payment metadata is ZK-sealed into the record.

FIPS 204 · Topic 0.0.10416909
STEP 3 · SETTLE

Charged only on success

USDC settles on Base only after the mint completes. If the mint fails, the authorization is never executed — the agent keeps its money.

Settlement tx returned in PAYMENT-RESPONSE
02 · Try it

One request to see the challenge. Two to own a proof.

# 1 · unpaid request returns the x402 challenge — try it right now, no wallet needed curl -X POST https://rubric-protocol.com/v1/x402/tiered-attest \ -H "Content-Type: application/json" -d '{}' # → 402 · accepts: [{ scheme:"exact", network:"eip155:8453", # amount:"5000", asset:"USDC", payTo:"0xaB67…4ca" }] # 2 · x402-capable clients handle payment automatically import { wrapFetchWithPayment } from "x402-fetch"; const fetchPaid = wrapFetchWithPayment(fetch, account); // viem account w/ USDC on Base const res = await fetchPaid("https://rubric-protocol.com/v1/x402/tiered-attest", { method: "POST", body: JSON.stringify({ agentId: "my-agent", data: { decision: "…" } }) }); // → { attestationId, algorithm:"ML-DSA-65", topic, verifyUrl } — paid, anchored, yours # 3 · anyone verifies — free, no account, no trust in Rubric curl https://rubric-protocol.com/verify/v1/attestations/<id>

Discovery is machine-native too: the endpoint publishes a standard manifest at /.well-known/x402.json and is listed on the x402 Bazaar, where agent frameworks already index it.

03 · Why it matters

The receipt is the product. And it outlives everyone.

Agent-to-agent commerce has a bootstrap problem: autonomous buyers can't fill out signup forms, and autonomous sellers can't invoice them. x402 solves the payment half. Rubric solves the other half — proof that the transaction and the work behind it actually happened, in a record neither party can alter and neither party needs the other to verify.

Every paid attestation is a permanent public record: post-quantum signed, consensus-timestamped on Hedera, ZK-sealed payment metadata inside. An agent's operator, a counterparty, or an auditor in 2033 can check any record against the ledger — whether or not Rubric still exists.

FOR AGENT BUILDERS

Attestation as a primitive

Give your agent a receipts habit: every consequential decision it makes — or purchase it settles — gets a proof its operator can audit. x402-fetch, x402-axios, or raw HTTP.

FOR SPEND ACCOUNTING

Signed monthly statements

The /v1/x402/statement endpoint ($0.50) returns a signed monthly spend statement for one agent — totals, per-payment lines, Merkle root — itself an attestation anchored to HCS.

FOR SKEPTICS

Don't trust this page

The settlement address is public. The anchor topic is public. The verifier is free. Check the live HCS stream ↗ yourself.

SCALING UP

Outgrow the meter

Past ~200K attestations/month, the Enterprise tier is cheaper than paying per call — same records, same verification, plus dashboard, auditor portal, and SLA.

04 · Start

Your agent has a wallet. That's the whole integration.