Yuva DocsBack to Yuva
Local mock / proposed contract

Trust

Read the viewer-authorized summary, not another user’s internal history.

On this page

Public-safe summary#

Example
const summary = api.trust.summary('me', 'eren');
if (summary.visible) {
  console.log(summary.score, summary.factors);
}

Interpret missing data#

score can be null when qualifying history is absent or stale. visible can be false under sharing permissions. A total repaid amount may be withheld even when other summary factors are shared.

Proposed HTTP contract#

GET /trust/{userId} would require viewer-scoped authorization. It must not return unrelated counterparty identities or a private loan ledger. The local TrustEngine is not a production credit decision service.

Search Yuva Docs

Type to search the documentation.

↑ ↓ to navigate Enter to open · Esc to close