{"service":"HALOWERK x402werk","endpoint":"/settlement/verify","method":"POST","content_type":"application/json","inputSchema":{"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."}}}}},"requestExample":{"chain":"arb","tx_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","expected":{"pay_to":"0x0000000000000000000000000000000000000000"}},"operations":[{"method":"POST","inputSchema":{"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."}}}}},"requestExample":{"chain":"arb","tx_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","expected":{"pay_to":"0x0000000000000000000000000000000000000000"}}}],"example_request":{"chain":"arb","tx_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","expected":{"pay_to":"0x0000000000000000000000000000000000000000"}},"serviceName":"verify_settlement","tags":["x402","x402-infra","agent-payments","settlement","onchain"],"outputSchema":{"type":"object","properties":{"found":{"type":"boolean"},"transaction_status":{"type":["string","null"],"enum":["success","reverted","pending",null]},"recipient_matches":{"type":["boolean","null"]},"amount_matches":{"type":["boolean","null"]},"amount_actual":{"type":["string","null"]},"amount_actual_human":{"type":["string","null"]},"asset_matches":{"type":["boolean","null"]},"block_number":{"type":["integer","null"]},"confirmations":{"type":["integer","null"]},"finality":{"type":"object"},"transfer_events":{"type":"array","items":{"type":"object"}},"overpaid_by":{"type":["string","null"]},"underpaid_by":{"type":["string","null"]},"verdict":{"type":"string","enum":["bestaetigt","abweichung","nicht_gefunden","nicht_final"]},"verdict_reasons":{"type":"array","items":{"type":"string"}},"ts_fetched":{"type":"integer"},"age_ms":{"type":"integer"},"unavailable_fields":{"type":"array","items":{"type":"string"}}}}}