Skip to content
Fourohtwo

Checks vouchers of a payment channel by computation only

x402.halowerk.com/channel/audit

Checks vouchers of a payment channel by computation only - nothing is ever claimed, redeemed or refunded. Signatures are verified cryptographically against the address each voucher claims to be signed by, in EIP-712 form when the typed data is supplied, otherwise as a plain message signature. Double spending is the expensive case and is checked in full: every voucher id occurring more than once is

BaseAnswering
POSThttps://x402.halowerk.com/channel/audit

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.halowerk.com/channel/audit", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"deposited":"5000000","vouchers":[{"amount":"1000000","id":"v-001","message":"voucher v-001 amount 1000000","signature":"0x5e07bccccc9ee9c62d5bcfd2741bdc0939d9f4244cb3ed7063625c058039c80b14d1dd6a7adf61d5b1f5ce117a217745eddb921d200b57a0ab5ff5b277e405c51c","signed_by":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"}]}),
});
console.log(await res.json());

Example input

{
  "deposited": "5000000",
  "vouchers": [
    {
      "amount": "1000000",
      "id": "v-001",
      "message": "voucher v-001 amount 1000000",
      "signature": "0x5e07bccccc9ee9c62d5bcfd2741bdc0939d9f4244cb3ed7063625c058039c80b14d1dd6a7adf61d5b1f5ce117a217745eddb921d200b57a0ab5ff5b277e405c51c",
      "signed_by": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
    }
  ]
}

More from HALOWERK x402werkProvider status