youraitools-api / tree / aiax-src/pr-signcheck-check.json ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
{"x402Version":2,"error":"Payment required","resource":{"url":"https://api.youraitools.co/signcheck/v1/check","description":"Pre-sign safety check for agent wallets: send a transaction, EIP-712 typed data (Permit, Permit2, EIP-3009, Seaport), an EIP-7702 authorization, or an x402 402 + payment payload. Returns SAFE/CAUTION/DANGER, a plain-English summary and every risk flag (unlimited or EOA approvals, setApprovalForAll, fake USDC domains, x402 overpay, OFAC SDN) plus on-chain facts and eth_call simulation.","mimeType":"application/json","serviceName":"SignCheck by AgentGate","tags":["security","wallet-security","transaction-simulation","eip-712","check_signature"],"iconUrl":"https://agentgate-source.pages.dev/icons/signcheck.png"},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"15000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F","maxTimeoutSeconds":120,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","bodyType":"json","body":{"chain":"base","tx":{"to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","from":"0xE35E10429048b6F3409b0307E65e4797477Ed144","value":"0","data":"0x095ea7b30000000000000000000000003c1a1e01e790cd326495631b3b38bd7068f08d6fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}},"method":"POST"},"output":{"type":"json","example":{"tier":"full","verdict":"DANGER","risk_score":75,"kind":"transaction","action":"erc20_approve","summary":"Approve 0x3c1A\u20268d6F to spend UNLIMITED USDC from your wallet","chain":{"id":8453,"name":"Base"},"flags":[{"code":"SPENDER_IS_EOA","severity":"critical","message":"The token allowance goes to 0x3c1A\u20268d6F, a plain wallet (no contract code). Legitimate apps approve contracts; approvals to wallets are how drainer kits steal funds."},{"code":"UNLIMITED_APPROVAL","severity":"medium","message":"Grants an UNLIMITED allowance to 0x3c1A\u20268d6F."}],"counterparties":[{"address":"0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F","roles":["spender"],"label":null,"type":"eoa"}],"onchain":{"available":true,"chain":"Base","block":52942270,"tokens":[{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","decimals":6,"name":"USD Coin"}],"simulation":{"success":true}},"sanctions":{"list":"US Treasury OFAC Specially Designated Nationals (SDN) list","list_date":"2026-10-21","evm_addresses":124,"matches":0},"engine":"signcheck-0.1"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"properties":{"chain":{"type":"string","description":"base (default), ethereum, base-sepolia or a chain id"},"tx":{"type":"object","description":"Transaction to send: {\"to\":\"0x\u2026\",\"data\":\"0x\u2026\",\"value\":\"0\",\"from\":\"0x\u2026\"} (from enables simulation)"},"typed_data":{"type":"object","description":"EIP-712 request {domain, types, primaryType, message} as passed to eth_signTypedData_v4"},"authorization":{"type":"object","description":"EIP-7702 authorization {address (delegate contract), chainId, nonce}"},"payment_required":{"type":["object","string"],"description":"x402 402 terms: the PAYMENT-REQUIRED header (base64) or JSON {accepts:[\u2026]}"},"payment_payload":{"type":["object","string"],"description":"x402 payment you are about to send: PAYMENT-SIGNATURE / X-PAYMENT (base64) or JSON"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}}

agentgate-source: code mirror on Cloudflare Pages. All repos