{"uid":"cap_rxFwWxuAt56CUo0RGvAKZ","slug":"signgate-agent-buyer-identity-preflight-transaction-decode-risk-8b47502b","name":"SignGate Agent Buyer Identity Preflight – Transaction Decode Risk","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/transaction-decode-risk","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["chain","to"],"properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Transaction recipient or contract."},"chain":{"type":"string","pattern":"^[A-Za-z0-9:_ -]{2,80}$","description":"Chain or network label for the transaction."},"calldata":{"type":"string","pattern":"^0x[a-fA-F0-9]*$","maxLength":4096,"description":"EVM calldata or 0x for a simple transfer."},"value_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Approximate value at risk in USDC."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"transaction-decode-risk","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xu-iTK-QeiSez51p8UvQG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and risk-scores an on-chain transaction before an AI agent pays for an x402 resource, flagging mismatches between buyer identity, product category, price, and approval policy.","exampleAgentPrompt":"Before my agent signs the transaction to buy that x402 API, run a preflight risk check on it — the recipient is 0xAbC1234567890abcdef1234567890abcdef123456 on eip155:8453, the calldata is 0xa9059cbb, and the value at risk is 1.50 USDC.","exampleUseCases":[{"title":"Pre-authorize x402 API purchase","prompt":"My agent is about to pay for an x402 data API — can you decode the transaction and give me a risk score before it goes through? The recipient is 0xDEAD1234567890abcdef1234567890abcdef1234 on Base (eip155:8453), calldata is 0xa9059cbb000000, and the value is 0.50 USDC."},{"title":"Screen high-value dataset purchase","prompt":"My AI agent wants to buy an x402 dataset for 25.00 USDC on eip155:8453 — run a transaction decode risk check against recipient 0xBEEF5678901234abcdef5678901234abcdef5678 with calldata 0x23b872dd before I let it proceed."},{"title":"Validate agent role fits product category","prompt":"Before my autonomous agent approves this x402 tool purchase, check whether the buyer role matches the product category and sensitivity — the transaction is on Base, recipient 0xCAFE9012345678abcdef9012345678abcdef9012, calldata 0x, value 5.00 USDC."}],"resultDescription":"Returns a JSON object containing a risk_level (e.g. 'low', 'medium', 'high'), a numeric risk_score, an array of risk flags, plus contextual fields for network, product, identity, activity, and provenance — giving the agent a clear go/no-go signal before signing the payment.","failureModes":["Invalid 'to' address format returns a validation error (must match ^0x[a-fA-F0-9]{40}$)","Invalid or missing 'chain' parameter causes a 400 bad request","Malformed or oversized calldata (>4096 chars) is rejected","Missing required query parameters 'chain' or 'to' returns an error","Unrecognized chain label may result in an unknown network assessment","Service unavailable on Cloudflare Worker returns 5xx"],"whenToPreferThis":"Choose this endpoint when an AI agent is operating within the x402 micropayment ecosystem on EVM-compatible chains (especially Base) and needs a lightweight, on-the-fly risk assessment before authorizing a payment. It is purpose-built for agent-governed purchasing workflows where buyer identity, product sensitivity, and approval policy must align before funds are spent — not for general blockchain analytics or wallet monitoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:46:17.547Z","isFirstParty":false}