X402werk
settlement / verify
Reads the receipt of a transaction on Ethereum, Base, Base Sepolia, OP Mainnet, Arbitrum One, Polygon PoS or Avalanche C-Chain and compares it with what you expected to be paid. The comparison runs against the ERC-20 transfer events in the receipt, not against the transaction recipient, because in a token payment the transaction recipient is the token contract and never the seller.
POST https://x402.halowerk.com/settlement/verifyEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| chain | string | Ja | Chain of the transaction, as CAIP-2 ("eip155:8453"), as a short name ("base") or as the chain id ("8453"). |
| tx_hash | string | Ja | Hash of the settlement transaction. |
| expected | object | Ja |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"chain",
"tx_hash",
"expected"
],
"additionalProperties": false,
"properties": {
"chain": {
"type": "string",
"enum": [
"arb",
"arbitrum",
"arbitrum-one",
"avalanche",
"avax",
"base",
"base-mainnet",
"base-sepolia",
"basesepolia",
"eip155:1",
"eip155:10",
"eip155:137",
"eip155:42161",
"eip155:43114",
"eip155:8453",
"eip155:84532",
"eth",
"ethereum",
"ethereum-mainnet",
"mainnet",
"matic",
"op",
"op-mainnet",
"optimism",
"polygon"
],
"description": "Chain of the transaction, as CAIP-2 (\"eip155:8453\"), as a short name (\"base\") or as the chain id (\"8453\")."
},
"tx_hash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "Hash of the settlement transaction."
},
"expected": {
"type": "object",
"required": [
"pay_to"
],
"additionalProperties": false,
"properties": {
"pay_to": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Address that was supposed to receive the payment — the seller, not the token contract."
},
"amount_units": {
"type": "string",
"pattern": "^[0-9]{1,78}$",
"description": "Expected amount as an integer in the smallest unit of the token. Omit to skip the amount comparison; amount_matches is then null."
},
"asset": {
"type": "string",
"description": "Expected token contract address, or \"native\" for the chain coin. Omit to accept any token; asset_matches is then null."
}
}
}
}
}Veröffentlichtes Eingabebeispiel
{
"chain": "arb",
"tx_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"expected": {
"pay_to": "0x0000000000000000000000000000000000000000"
}
}Ergebnis & Dokumentation
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,006 USDC
channel / audit
POSThttps://x402.halowerk.com/channel/auditChecks 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
- 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