{
  "x402Version": 2,
  "id": 54266,
  "slug": "54266",
  "resource": "https://x402.halowerk.com/channel/audit",
  "description": "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. Sums are added up",
  "type": "http",
  "serviceName": "HALOWERK x402werk",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "6000",
      "amountUsd": 0.006,
      "maxTimeoutSeconds": 300
    }
  ],
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "vouchers": [
              {
                "amount": "1000000",
                "id": "beispiel",
                "signed_by": "beispiel"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "chain": {
                    "description": "Optional chain, needed only to read the on-chain state, as CAIP-2 such as eip155:8453.",
                    "type": "string"
                  },
                  "channel_contract": {
                    "description": "Optional channel contract address.",
                    "type": "string"
                  },
                  "channel_id": {
                    "description": "Optional channel identifier as bytes32.",
                    "type": "string"
                  },
                  "deposited": {
                    "description": "Optional deposit in the smallest unit, used when the contract cannot be read.",
                    "type": "string"
                  },
                  "vouchers": {
                    "description": "The vouchers to audit.",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "amount": {
                          "description": "Amount in the smallest unit, as a decimal string.",
                          "type": "string"
                        },
                        "claimed": {
                          "description": "Whether the caller considers this voucher already claimed.",
                          "type": "boolean"
                        },
                        "expiry": {
                          "description": "Optional expiry as a unix timestamp in seconds.",
                          "type": "string"
                        },
                        "id": {
                          "description": "Voucher identifier.",
                          "type": "string"
                        },
                        "message": {
                          "description": "The signed message, for a plain message signature.",
                          "type": "string"
                        },
                        "signature": {
                          "description": "The signature, 0x-prefixed.",
                          "type": "string"
                        },
                        "signed_by": {
                          "description": "Address that is claimed to have signed.",
                          "type": "string"
                        },
                        "typed_data": {
                          "description": "EIP-712 payload with domain, types, primaryType and message.",
                          "type": "object"
                        }
                      },
                      "required": [
                        "id",
                        "amount"
                      ],
                      "type": "object"
                    },
                    "maxItems": 200,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "vouchers"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402.halowerk.com",
  "lastUpdated": "2026-10-08T05:40:08.163Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T05:40:07.629Z"
  },
  "metadata": {
    "serviceName": "HALOWERK x402werk",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "vouchers": [
                {
                  "amount": "1000000",
                  "id": "beispiel",
                  "signed_by": "beispiel"
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "chain": {
                      "description": "Optional chain, needed only to read the on-chain state, as CAIP-2 such as eip155:8453.",
                      "type": "string"
                    },
                    "channel_contract": {
                      "description": "Optional channel contract address.",
                      "type": "string"
                    },
                    "channel_id": {
                      "description": "Optional channel identifier as bytes32.",
                      "type": "string"
                    },
                    "deposited": {
                      "description": "Optional deposit in the smallest unit, used when the contract cannot be read.",
                      "type": "string"
                    },
                    "vouchers": {
                      "description": "The vouchers to audit.",
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "amount": {
                            "description": "Amount in the smallest unit, as a decimal string.",
                            "type": "string"
                          },
                          "claimed": {
                            "description": "Whether the caller considers this voucher already claimed.",
                            "type": "boolean"
                          },
                          "expiry": {
                            "description": "Optional expiry as a unix timestamp in seconds.",
                            "type": "string"
                          },
                          "id": {
                            "description": "Voucher identifier.",
                            "type": "string"
                          },
                          "message": {
                            "description": "The signed message, for a plain message signature.",
                            "type": "string"
                          },
                          "signature": {
                            "description": "The signature, 0x-prefixed.",
                            "type": "string"
                          },
                          "signed_by": {
                            "description": "Address that is claimed to have signed.",
                            "type": "string"
                          },
                          "typed_data": {
                            "description": "EIP-712 payload with domain, types, primaryType and message.",
                            "type": "object"
                          }
                        },
                        "required": [
                          "id",
                          "amount"
                        ],
                        "type": "object"
                      },
                      "maxItems": 200,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "vouchers"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.halowerk.com",
    "manifest_name": "x402.halowerk.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  }
}