Reads all incoming ERC-20 transfers of one token to one address within a block o
Reads all incoming ERC-20 transfers of one token to one address within a block or time window and matches them against the receipts you supply. Matching runs first over the transaction hash, which is the strongest link, and otherwise over amount plus payer plus a stated time tolerance; the method used is named for every single match, so a weak match is never mistaken for a strong one. The answer lists matched pairs, receipts without a payment, payments without a receipt, amount mismatches with e
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.halowerk.com/reconcile
| Category | Market data |
|---|---|
| Provider host | x402.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"address": "0x42d950fe675181f396c319c38d0a0296d710ccf6",
"chain": "base",
"receipts": [
{
"amount_units": "10000",
"receipt_id": "halowerk-audit-fixture-01"
}
],
"window": {
"from_block": 38700000,
"to_block": 38700000
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"address": {
"description": "Your receiving address whose incoming transfers should be read.",
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"asset": {
"description": "Token contract address to reconcile. Defaults to the canonical USDC of that chain.",
"type": "string"
},
"chain": {
"description": "Chain as CAIP-2, short name or chain id.",
"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"
],
"type": "string"
},
"receipts": {
"description": "Your receipts. Each needs at least amount_units; tx_hash makes the match strong, payer and ts make the fallback match possible.",
"items": {
"additionalProperties": false,
"properties": {
"amount_units": {
"description": "Amount as an integer in the smallest unit of the token.",
"pattern": "^[0-9]{1,78}$",
"type": "string"
},
"payer": {
"description": "Address you believe paid.",
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"payment_id": {
"description": "Payment identifier, used to detect duplicate receipts.",
"maxLength": 200,
"type": "string"
},
"receipt_id": {
"description": "Your own identifier for this receipt. Echoed back in every result.",
"maxLength": 200,
"type": "string"
},
"ts": {
"description": "Unix seconds when the receipt was issued. Needed for the amount-and-time fallback match.",
"type": "integer"
},
"tx_hash": {
"description": "Settlement transaction hash, if you recorded one.",
"pattern": "^0x[0-9a-fA-F]{64}$",
"type": "string"
}
},
"required": [
"amount_units"
],
"type": "object"
},
"maxItems": 500,
"minItems": 1,
"type": "array"
},
"time_tolerance_seconds": {
"default": 300,
"description": "How far a receipt timestamp may sit from the block time of a payment and still match. Receipt and chain rarely carry the same second.",
"maximum": 86400,
"minimum": 0,
"type": "integer"
},
"window": {
"additionalProperties": false,
"properties": {
"from": {
"description": "Start of the window as unix seconds. Resolved to a block by reading real blocks.",
"type": "integer"
},
"from_block": {
"description": "Start block. Takes precedence over from.",
"minimum": 0,
"type": "integer"
},
"to": {
"description": "End of the window as unix seconds.",
"type": "integer"
},
"to_block": {
"description": "End block. Takes precedence over to.",
"minimum": 0,
"type": "integer"
}
},
"type": "object"
}
},
"required": [
"chain",
"address",
"receipts"
],
"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"
}