verify_lender
Resolves a lenderId (referenced in a Schema B attestation) to the lender’s public profile + signing wallet.
signingWallet and the on-chain issuerWallet detects schema impersonation.
Wraps: GET /v2/lenders/:lenderId.
get_lender_history
Trace a lender’s full lifecycle — REGISTERED, STATUS_CHANGED, metadata edits. Verifiers use this to determine whether a lender was ACTIVE at the time a Schema B credit-risk attestation was minted, and to surface any SUSPENDED / ARCHIVED transitions.
LENDER_REGISTERED / LENDER_STATUS_CHANGED / LENDER_DISPLAY_NAME_CHANGED / LENDER_JURISDICTION_CHANGED / LENDER_SIGNING_WALLET_CHANGED / LENDER_REGULATOR_REFERENCE_CHANGED / LENDER_CONTACT_NOTES_CHANGED.
previousStatus / newStatus are non-null only for LENDER_REGISTERED + LENDER_STATUS_CHANGED events; both are null for metadata-change events.
Use case: An agent presenting a Schema B credit-risk attestation needs to confirm the issuing lender was in good standing at attestation time — walk the timeline, find the LENDER_STATUS_CHANGED events bracketing the attestation’s occurredAt, and assert the lender was ACTIVE in that window (and not subsequently SUSPENDED / ARCHIVED).
Wraps: GET /v2/lenders/:lenderId/timeline.
recommend_lender
“Which lenders should this merchant approach?” — given a jurisdiction (+ optional archetype filter), returns the ordered list of ACTIVE lenders by exact-match-first, GLOBAL-fallback-second, track-record sort within group.
GLOBAL DeFi-vault fallback (e.g. Valinor) ranked second.
Wraps: GET /v2/lender-routing/recommend.
recommend_service_provider
“Which WMS partner should this merchant route to?” — same pattern as recommend_lender but for InventoryOS partners (WMS/3PL).
GET /v2/service-provider-routing/recommend.
get_methodology_versions
Return all methodology document versions ever registered for a lender, newest-first. Verifiers use this to trace a lender’s full methodology lineage when an on-chain Schema B attestation cites a specific hash.
ACTIVE / SUPERSEDED / REVOKED.
Privacy + bounds: no notes field is exposed (operator-only); response is hard-capped at 100 versions per lender.
Use case: An agent presented with a Schema B attestation needs to walk the lender’s methodology history to see whether the cited methodologyHash is the most recent version or has been superseded — flag stale citations to the consuming application.
Wraps: GET /v2/methodologies/:lenderId/versions.
get_trust_fabric_stats
“What’s the platform’s overall trust-fabric scale?” — returns aggregate-only counts across lenders, service providers, methodology versions, and attestations by schema. No PII, no per-row data, no auth required. Use this to gauge platform scale before issuing per-merchant queries or to power a partner-facing dashboard.
GET /v2/trust-fabric/stats.
Related
- Trust Fabric overview — full architecture
- MCP Server — connection + auth