verify_methodology
Look up a lender's underwriting methodology by lenderId. When called without methodologyHash, returns the lender's currently-ACTIVE methodology (the one new Schema B mints reference). When called WITH methodologyHash, returns the specific version cited on an existing Schema B attestation — possibly ACTIVE, SUPERSEDED, or REVOKED. Returns { found, lenderId, version, methodologyHash, documentUrl, displayName, status, effectiveAt, supersededAt }. Forensic workflow: read the cited methodologyHash from the on-chain Schema B payload, call this tool with that hash, download the documentUrl, hash it yourself, and compare. Any divergence flags methodology tampering. Pair with verify_lender + verify_credit_risk for the full forensic chain. Graceful clean-slate envelope on missing / backend error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lenderId | Yes | ||
| methodologyHash | No |