{"uid":"cap_b9pFzh36B7w9FqZxaB7ol","slug":"algorand-counterparty-wallet-account-state-risk-scoring-decision-9715655e","name":"Algorand Counterparty Wallet Account-State Risk Scoring Decision Procedure","description":"Paid agent-facing brief on Algorand counterparty wallet account-state risk scoring decision procedure for agents: deterministic allow/caution/block verdict on a wallet before signing an x402 payment or asset transfer. Score rekey authority, freeze/clawback manager configuration on held ASAs, opt-in status, minimum balance health, transaction type mix, and asset concentration. Ordered workflow with tiered thresholds, kill criteria, and falsifier rules. Agent pays USDC, gets a deterministic","url":"https://k2so-8080.on.ascii.dev/api/services/algorand-counterparty-wallet-account-state-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","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":"Algorand counterparty wallet account-state risk scoring decision proce 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":null,"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":"unknown","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_A7rtk_WcU3YQFGZDwtSzK","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 a deterministic allow/caution/block risk verdict on an Algorand wallet address before an agent signs an x402 payment or asset transfer, scoring rekey authority, freeze/clawback config, opt-in status, balance health, and asset concentration.","exampleAgentPrompt":"Before I sign this x402 payment to the Algorand wallet ALGO123…XYZ, run the counterparty risk scoring procedure on it and tell me whether it's allow, caution, or block based on rekey status, freeze/clawback config, and balance health.","exampleUseCases":[{"title":"Pre-payment counterparty vetting for agent","prompt":"I'm about to send 50 USDC via x402 to Algorand address ABCDEF…123 — can you run the counterparty risk scoring on it first and tell me if it's safe to proceed, especially checking for any rekey or clawback issues?"},{"title":"ASA freeze risk check before transfer","prompt":"Before my agent transfers an ASA token to wallet ALGO987…ZYX, run the Algorand account-state risk procedure to see if the asset has a freeze or clawback manager that could intercept the transfer."},{"title":"Autonomous payment guard for agent fleet","prompt":"Set up a rule so that every time my agent fleet tries to make an Algorand x402 payment, it first checks the recipient wallet's risk score using the counterparty scoring procedure and blocks anything that comes back as caution or block."}],"resultDescription":"A JSON object containing a deterministic allow/caution/block verdict, a prose decision-procedure brief explaining the scoring rationale, tiered threshold results, kill criteria outcomes, falsifier rules applied, the generation source (llm/reasoning/deterministic), and an ISO-8601 timestamp of when the brief was generated.","failureModes":["Invalid or malformed Algorand wallet address returns an error","Payment not received results in 402 response requiring USDC payment","Algorand node unavailability may delay or fail account-state lookup","Rate limiting or quota exhaustion returns HTTP 429","Missing required query parameters returns validation error","Wallet with no on-chain history may return incomplete scoring data"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a deterministic, structured risk verdict on an Algorand counterparty wallet specifically before signing an x402 payment or ASA transfer — particularly when rekey authority, freeze/clawback manager configuration, and minimum balance health are the key risk factors. Prefer this over generic blockchain explorers when you need a scored, actionable allow/caution/block decision rather than raw chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:05:32.047Z","isFirstParty":false}