{"uid":"cap_SxgegkNNSKiJqSb1e_bfV","slug":"on-chain-forensics-full-due-diligence-memo-e4cd8300","name":"On-chain Forensics – Full Due Diligence Memo","description":"Due diligence memo: verdict + supply/flow forensics + settle-safe screen composed into one reproducible analyst memo (no LLM calls); ERC-20s on Base/Ethereum or XRPL issued currencies (chain=xrp) with issuer + holder + DEX-depth sections","url":"https://solene-fa2010da.base44.app/functions/forensicsMemo?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":{"chain":{"enum":["base","ethereum","robinhood","xrp"],"type":"string","description":"memo chain: base, ethereum or robinhood for ERC-20 targets, xrp for XRPL issued currencies (default base)"},"token":{"type":"string","description":"memo token alias, alternative to address - any named EVM token, or an XRPL alias (rlusd, gatehub-usd, bitstamp-usd, bitstamp-eur) with chain=xrp"},"issuer":{"type":"string","pattern":"^r[1-9A-HJ-NP-Za-km-z]{24,34}$","description":"XRPL issuer address for the memo (same slot as address when chain=xrp)"},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$|^r[1-9A-HJ-NP-Za-km-z]{24,34}$","description":"memo target: ERC-20 contract (0x...) or XRPL issuer (r..., chain=xrp). Accepted input combinations: (1) address alone, (2) token alias alone, (3) chain=xrp plus issuer and currency, (4) token alias plus counterparty"},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$|^[0-9A-Fa-f]{40}$","description":"XRPL issued-currency code for the memo (3-letter code or 40-char hex), required together with an XRPL issuer"},"counterparty":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$|^r[1-9A-HJ-NP-Za-km-z]{24,34}$","description":"optional counterparty for the memo trust section - raises the memo to the $0.35 tier"}},"additionalProperties":false}}},"output":{"type":"object","properties":{"data":{"type":"object"},"paid":{"type":"string"},"service":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pEZ6SaiOOLYGHY6eefMtC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a comprehensive, reproducible analyst memo combining token verdict, supply/flow forensics, holder analysis, DEX depth, and settle-safe screening for ERC-20 tokens or XRPL issued currencies — no LLM calls.","exampleAgentPrompt":"Run a full on-chain forensics due diligence memo for the ERC-20 token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I want the verdict, supply and flow forensics, holder breakdown, DEX depth, and settle-safe screen all in one report.","exampleUseCases":[{"title":"Pre-trade token safety check","prompt":"Before I buy this token on Base, can you pull a full forensics memo for the contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — I need the verdict, supply forensics, holder section, and whether it's settle-safe."},{"title":"XRPL issued currency audit","prompt":"I need a due diligence memo for the XRPL issued currency with issuer rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh and currency code USD — give me the full issuer, holder, and DEX depth breakdown."},{"title":"Counterparty risk screen before OTC deal","prompt":"We're about to do an OTC trade and I need a forensics memo for token 0x6B175474E89094C44Da98b954EedeAC495271d0F on Ethereum, with a counterparty screen against 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 included."}],"resultDescription":"A structured due diligence memo object containing: a verdict tier with reasoning, supply and flow forensics metrics, an issuer analysis section, a holder distribution section, DEX liquidity/depth data, and a settle-safe screen result — all deterministically computed from on-chain data with no LLM inference.","failureModes":["Invalid or non-ERC-20 contract address returns an error or empty verdict","XRPL chain requires both address (r...) and currency code — missing currency may cause incomplete results","Unsupported chain value returns a validation error","Very new or illiquid tokens may have sparse DEX depth data","Counterparty screen is only available at the $0.35 tier — omitting counterparty falls back to $0.25 base tier","Network timeouts on on-chain RPC calls may cause partial results"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, all-in-one due diligence report rather than piecemeal metrics — it bundles verdict, supply/flow forensics, issuer/holder analysis, DEX depth, and settle-safe screening into one reproducible memo. Prefer it over individual metric endpoints when doing pre-trade or pre-settlement risk assessment, compliance review, or when you need a shareable, auditable output. Supports Base, Ethereum, Robinhood (ERC-20s), and XRPL issued currencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-25T06:36:01.348Z","isFirstParty":false,"canonicalSlug":"on-chain-forensics-full-due-diligence-memo-e4cd8300"}