{"uid":"cap_ID2pJ7GjuGewbvX7Ykhc1","slug":"k-2so-prepayment-onchain-token-safety-decision-standard-6a76c69c","name":"K-2SO Prepayment Onchain Token Safety Decision Standard","description":"Agent-facing decision procedure for vetting an onchain token, NFT collection, or smart contract before committing payment. Defines source-verification checks, deployer history and reputation signals, liquidity depth and honeypot heuristics, ownership concentration thresholds, and explicit kill criteria that block a purchase outright.","url":"https://k2so.wrong.systems/api/services/prepayment-onchain-token-safety-decision-standar?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Prepayment onchain token safety decision standard paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"prepayment-onchain-token-safety-decision-standar","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"prepayment-onchain-token-safety-decision-standar","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SaIuFOxgithQLsyGEMZ6X","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an AI-generated decision procedure (prose brief) for evaluating the safety of an onchain token before prepayment, priced at $0.002 USDC via x402 on Base.","exampleAgentPrompt":"Give me the standard decision procedure for evaluating whether an onchain token is safe before my agent makes a prepayment — I need the full prose brief with the recommended checks.","exampleUseCases":[{"title":"Pre-trade token safety check","prompt":"Before my agent swaps USDC for a new token on Base, give me the decision procedure it should follow to verify the token is safe — I want the full written brief with all the steps."},{"title":"Agent wallet allowlist token vetting","prompt":"My autonomous agent needs to decide whether to add a new onchain token to its approved payment list — can you fetch the prepayment token safety decision standard so it knows what criteria to apply?"},{"title":"x402 merchant onboarding risk gate","prompt":"I'm building an x402 merchant and want my agent to automatically gate which tokens it accepts — pull the onchain token safety decision procedure so I can wire it into the acceptance logic."}],"resultDescription":"A JSON object containing a plain-prose decision procedure (120+ words) describing how an agent should evaluate onchain token safety before prepayment, plus metadata: model used, generation source (llm/reasoning/deterministic), ISO-8601 timestamp, service slug, and provider name K-2SO.","failureModes":["HTTP 402 returned if USDC micropayment not settled first — agent must pay exact amount and retry with PAYMENT-SIGNATURE header","Malformed or missing 'input' object returns validation error","Invalid 'method' enum value (must be GET, HEAD, or DELETE) causes rejection","'meta=1' query param returns free metadata JSON instead of paid decision procedure — no result content","LLM generation failure may return ok:false with error detail in result"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a structured, plain-language decision procedure specifically for evaluating onchain token safety before making a prepayment — particularly in x402 micropayment flows on Base where the agent must decide whether to trust a token. Prefer it over generic risk APIs when you need an LLM-generated, agent-readable prose brief rather than raw on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T22:28:27.313Z","isFirstParty":false,"canonicalSlug":"k-2so-prepayment-onchain-token-safety-decision-standard-6a76c69c"}