X402werk
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 reported with all its occurrences and whether the duplicates agree on the amount.
POST https://x402.halowerk.com/channel/auditEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| chain | string | Nein | Optional chain, needed only to read the on-chain state, as CAIP-2 such as eip155:8453. |
| channel_contract | string | Nein | Optional channel contract address. |
| channel_id | string | Nein | Optional channel identifier as bytes32. |
| vouchers | array | Ja | The vouchers to audit. |
| deposited | string | Nein | Optional deposit in the smallest unit, used when the contract cannot be read. |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"vouchers"
],
"additionalProperties": false,
"properties": {
"chain": {
"type": "string",
"description": "Optional chain, needed only to read the on-chain state, as CAIP-2 such as eip155:8453."
},
"channel_contract": {
"type": "string",
"description": "Optional channel contract address."
},
"channel_id": {
"type": "string",
"description": "Optional channel identifier as bytes32."
},
"vouchers": {
"type": "array",
"minItems": 1,
"maxItems": 200,
"description": "The vouchers to audit.",
"items": {
"type": "object",
"required": [
"id",
"amount"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"description": "Voucher identifier."
},
"amount": {
"type": "string",
"description": "Amount in the smallest unit, as a decimal string."
},
"signed_by": {
"type": "string",
"description": "Address that is claimed to have signed."
},
"signature": {
"type": "string",
"description": "The signature, 0x-prefixed."
},
"message": {
"type": "string",
"description": "The signed message, for a plain message signature."
},
"typed_data": {
"type": "object",
"description": "EIP-712 payload with domain, types, primaryType and message."
},
"claimed": {
"type": "boolean",
"description": "Whether the caller considers this voucher already claimed."
},
"expiry": {
"type": "string",
"description": "Optional expiry as a unix timestamp in seconds."
}
}
}
},
"deposited": {
"type": "string",
"description": "Optional deposit in the smallest unit, used when the contract cannot be read."
}
}
}Veröffentlichtes Eingabebeispiel
{
"vouchers": [
{
"id": "beispiel",
"amount": "beispiel"
}
]
}Ergebnis & Dokumentation
Veröffentlichtes Ergebnisschema anzeigen
{
"$ref": "https://x402.halowerk.com/channel/audit/schema#/outputSchema"
}Veröffentlichtes Ergebnisbeispiel öffnen
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- X402werk0,006 USDC
benchmark / price
POSThttps://x402.halowerk.com/benchmark/priceReads the public x402 Bazaar catalogue and finds offers comparable to yours, either from a resource_url whose 402 challenge is fetched without paying, or from a category and description you supply. Every comparable offer is listed with its
- X402werk0,003 USDC
facilitator / health
POSThttps://x402.halowerk.com/facilitator/healthAsks every known facilitator what it supports and measures how long that answer takes. Reachability, supported chains, supported assets, supported schemes and the current response time are measured live on every call. Limits, and they are t
- X402werk0,002 USDC
guard / replay
POSThttps://x402.halowerk.com/guard/replayA stateful duplicate check for agents that settle x402 payments. Supply any of payment_id, payload_hash and nonce; each is hashed with SHA-256 before storage, so the service keeps fingerprints and timestamps and never the values themselves,