{"uid":"cap_2zXVCZ49yjn22jTH36Ce_","slug":"x402-settlement-transaction-shape-validator-546f763a","name":"X402 Settlement Transaction Shape Validator","description":"X402 Settlement Tx Shape: X402 Settlement Tx Shape checks a settlement transaction identifier for expected chain shape from bounded caller-supplied values without an external provider. Call X402 Settlement Tx Shape before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for X402 Settlement Tx Shape as versioned det…","url":"https://api.delx.ai/api/v1/x402/x402-settlement-tx-shape?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"network":{"type":"string","maxLength":8192,"description":"Network supplied to X402 Settlement Tx Shape; used only for this bounded calculation and processed in memory without retention."},"transaction":{"type":"string","maxLength":8192,"description":"Transaction supplied to X402 Settlement Tx Shape; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"network":"eip155:8453","shape_valid":true,"transaction":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","onchain_verified":false},"schema":"delx/util-x402-settlement-tx-shape/v1","status":"pass","evidence":{"retained":false,"input_sha256":"6b6686833b680e0e8c6f79699ebc9ae5179b0d0ffe3743085905a52387b0e70c","external_calls":0},"operation":"delivery_contract:x402_settlement_tx_shape"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gqKSdy6Tg-sAY3VdXVdNy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a settlement transaction identifier against the expected on-chain structure for x402 payments, returning acceptance/rejection status and mismatch reasons without querying external providers.","exampleAgentPrompt":"Before we accept this x402 payment, check if the settlement transaction '0xabc123...' on the 'base' network has the correct chain shape and structure — give me the acceptance status and any mismatch reasons.","exampleUseCases":[{"title":"Pre-acceptance x402 payment screening","prompt":"I'm about to accept an x402 payment from an agent — can you validate the settlement transaction '0xd4f8a1...' on the 'base' network to confirm it has the right shape before I release the resource?"},{"title":"Agent delivery fraud prevention","prompt":"Before releasing the result of this agent job, verify that the settlement transaction '0x77e923...' on 'ethereum' actually matches the expected x402 structure and hasn't been tampered with."},{"title":"Automated x402 transaction compliance check","prompt":"My payment gateway received a settlement transaction '0xbb4401...' on 'base' — run the x402 shape check on it and tell me if it passes or fails, and why."}],"resultDescription":"Returns contract-specific validation checks, normalized transaction evidence, a list of mismatch reasons if any, and an explicit acceptance or rejection status for the given settlement transaction, all computed in-memory from caller-supplied values without external provider calls.","failureModes":["Invalid or malformed transaction identifier returns rejection status with mismatch reasons","Unsupported or unrecognized network string may yield inconclusive or error result","Missing required fields (network or transaction) returns validation error","Ambiguous transaction format may produce partial evidence with explicit rejection","Input exceeds maxLength constraints causing request rejection"],"whenToPreferThis":"Use this endpoint when you need to verify an x402 settlement transaction's on-chain shape before accepting or releasing resources in an x402 or agent delivery flow, especially when you want deterministic, in-memory validation without relying on an external blockchain RPC provider. Prefer this over generic transaction lookup services when you specifically need x402 protocol compliance checking with explicit acceptance/rejection output and mismatch diagnostics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:58:41.088Z","isFirstParty":false,"canonicalSlug":"x402-settlement-transaction-shape-validator-546f763a"}