Skip to content
Talk to us

Verification

How do you verify batched micropayment totals without trusting the operator?

Updated

Sources read

With a proof that the total follows from every payment in the batch, which anyone can check. Without one, the seller is paid on a count kept by the operator or the buyer, and has to trust it.

What this lets you do

Bill from a number both sides can verify, and settle arguments from the record.

Contents
  1. Who counts, and what a seller can check alone
  2. Is a signed log enough?
  3. Who verifies a proof?
  4. Why does this matter when paying per use?
  5. Questions to ask any vendor

Who counts, and what a seller can check alone

Usage reported by the buyerThe buyer’s own systemsNothing, short of an audit
A ledger kept by an operatorThe operatorIts own records against the operator’s statement
Payment channelsBoth sides, one signed update at a timeEvery update it signed or received. The chain enforces the final balance
One stablecoin transfer on a public blockchain per paymentThe chainEverything. Each payment is a public record
Batches settled with a zero-knowledge validity proofThe operator, with a proof attachedThat the batch was processed by the rules, because the proof is checked on a public blockchain and by anyone who wants to. What a seller can see of its own payments depends on the design

Is a signed log enough?

No. A signed log shows what each side agreed to, one payment at a time. It does not show that the operator’s totals follow from those payments. A proof over the whole batch does.

A batch total and its proof

Who verifies a proof?

A contract on a public blockchain checks it automatically before the batch counts. Anyone else can run the same check, without trusting whoever made the proof. StarkWare has run STARK proofs this way in production since June 2020.

Why does this matter when paying per use?

A count is only as good as whoever made it. x402.org reported $24 million in agent payments over 30 days. With wash trades removed, Artemis Analytics put the same period at $1.6 million.

Questions to ask any vendor

  • Who produces the total I am paid on?
  • What can I check without asking you for data?
  • If we disagree on a total, which record settles it?

Evaluating payment infrastructure for agents?

Tell us what you are trying to decide, and our team will walk you through the trade-offs.

Talk to us