RailguardRailguard

Metal testnet · eip155:63825

Three agents, one account, limits that hold

What happened: Three agents spent from one Metal account under on-chain mandates (limits) worth 20 *USDZ in total, buying and selling data over x402.

What Railguard checked: That an over-cap purchase was refused and the buyer not charged, that new limits stayed inside the total, and that a re-sent payout did not pay twice.

Why it matters: Agents can run a small business without being able to overspend, and a lost answer never turns into a double payment.

Key steps, each on chain

Run kit11-20261023T0437, recorded 2026-10-23. Account 0x7C2AE2f9DeD3ff262790b5F6a95B0C7AA1828F5B

StepWhat happenedResultExplorer
Query sold (order 1)Buyer paid 0.05 with a signed order; the sourcing agent paid upstream 0.02.SOLDView tx ↗
Over-cap purchase refusedUpstream raised its price to 0.04, above the 0.03 cap. The account refused it and the buyer was not charged.REFUSEDView tx ↗
New limits approved and appliedThe treasury agent proposed new limits inside the 20 *USDZ total, a person approved, and the mandate was replaced.REPLACEDView tx ↗
Earnings payout paid onceThe payout answer was dropped on purpose and the same payout re-sent. It was already paid, so nothing more was sent.PAID ONCEView tx ↗