{"uid":"cap_M1P7freQZ6LLO_404TSet","slug":"onchain-accounting-journal-35a014a4","name":"Onchain Accounting Journal","description":"Onchain Accounting Journal analyses only the evidence supplied by the caller. It does not claim to query a chain, identify a legal status or replace an independent audit. Missing signals lower confidence and are listed explicitly; every classification includes the exact thresholds used.","url":"https://forensik.halowerk.com/v1/onchain-accounting-journal?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"strict":{"type":"boolean","default":false,"description":"Reject unless all documented metrics are supplied."},"context":{"type":"object","description":"Optional non-secret labels returned unchanged for correlation.","maxProperties":20,"additionalProperties":{"type":["string","number","boolean","null"]}},"subject":{"type":"string","maxLength":256,"minLength":1,"description":"Address, transaction, protocol, asset, proposal or other subject being assessed."},"evidence":{"type":"array","items":{"type":"object","required":["metric","value"],"properties":{"note":{"type":"string","maxLength":500},"value":{"type":["number","boolean"]},"metric":{"enum":["unbalanced_entries","unclassified_value_pct","valuation_gap_pct"],"type":"string"},"source":{"type":"string","maxLength":300,"minLength":1,"description":"Evidence source or query identifier."},"timestamp":{"type":"string","maxLength":40,"minLength":10,"description":"ISO-8601 observation time."}},"additionalProperties":false},"maxItems":50,"minItems":1,"description":"Caller-supplied observations. Repeated metrics form a time series; the newest timestamp is assessed."}}},"responseSchema":{"type":"json","example":{"scope":"caller_supplied_evidence_only","engine":"reconcile","service":"Onchain Accounting Journal","subject":"onchain-accounting-journal-sample","confidence":100,"risk_score":16.05,"generated_at":"2026-10-23T00:07:35.812Z","classification":"low","recommendation":"No supplied metric crossed a warning thr","service_number":100}},"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_BfvMvqcr6D7c4fAxh81B_","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":"Analyses caller-supplied onchain accounting evidence (unbalanced entries, unclassified value, valuation gaps) and returns a risk score, classification, and recommendation based on explicit thresholds.","exampleAgentPrompt":"Analyse the accounting health of the DeFi protocol at address 0xABC123 using these three evidence observations: unbalanced_entries is 4 (observed 2024-11-01T12:00:00Z from our indexer), unclassified_value_pct is 18.5 (same timestamp), and valuation_gap_pct is 7.2 — give me a risk score and classification with the thresholds used.","exampleUseCases":[{"title":"DeFi protocol accounting audit","prompt":"Run an onchain accounting journal analysis for the Uniswap v3 pool at 0xPool123 — I have three metrics from our data pipeline: unbalanced_entries=12, unclassified_value_pct=22.4, and valuation_gap_pct=9.1, all observed at 2024-12-01T08:00:00Z. Tell me the risk score, classification, and what thresholds triggered any warnings."},{"title":"DAO treasury reconciliation check","prompt":"Assess the accounting journal risk for our DAO treasury address 0xTreasury456. Evidence from our snapshot at 2025-01-15T00:00:00Z: unbalanced_entries=0, unclassified_value_pct=3.2, valuation_gap_pct=1.8. We need confidence score and recommendation to include in our governance report."},{"title":"Exchange proof-of-reserves ledger validation","prompt":"I need to score an exchange wallet 0xExchange789 for accounting irregularities before we publish our reserves report. Evidence as of 2025-02-10T06:00:00Z: unbalanced_entries=2, unclassified_value_pct=11.0, valuation_gap_pct=5.5. Use strict mode so it rejects if any metric is missing, and return the classification and risk score."}],"resultDescription":"Returns a JSON object containing: risk_score (numeric), classification (e.g. low/medium/high), confidence (0-100), recommendation (text summary), scope (always 'caller_supplied_evidence_only'), engine ('reconcile'), service name, subject echoed back, generated_at timestamp, and service_number. Missing metrics lower confidence and are listed explicitly; every classification includes the exact thresholds used.","failureModes":["Missing required evidence array or empty evidence returns validation error","strict=true with any missing metric causes rejection rather than lower-confidence output","Invalid metric enum value causes schema validation failure","Malformed or missing ISO-8601 timestamp causes evidence rejection","Subject string exceeding 256 characters triggers input validation error","Exceeding 50 evidence items causes rejection"],"whenToPreferThis":"Choose this endpoint when you have caller-supplied accounting metrics (unbalanced entries, unclassified value percentage, valuation gap percentage) for an onchain subject and need a structured risk classification with explicit threshold transparency. It is not a chain-query tool — use it when you already have the evidence and need deterministic scoring and audit-ready output. Prefer it over generic ML classifiers when you need explainability (thresholds listed), confidence degradation on missing signals, and a strict mode for compliance workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T12:36:46.977Z","isFirstParty":false,"canonicalSlug":"onchain-accounting-journal-35a014a4"}