Lending

XLS-66 cross-broker lending exposure — full detail (x402, $0.01 USDC on Base or RLUSD on XRPL)

Everything /api/lending/exposure returns PLUS every loan decoded (rates in bps, days-to-due / days-overdue, flags), the per-broker first-loss context (the counterparty broker's own DebtTotal / CoverAvailable / CoverRateMinimum), the last-known state of every vanished loan, and the Merkle-anchored attestation receipt. $0.01 USDC on Base via the CDP x402 facilitator, no signup. Amendment-gated: 503 until XLS-66 enables, then serves automatically. Attests to OBSERVED STATE, not a complete borrowing history. Not underwriting or credit advice.

get/api/x402/lending/exposure

Request

  • Base URL: https://www.xrplhub.io
  • URL: https://www.xrplhub.io/api/x402/lending/exposure
  • Auth: none declared

Query parameters

borrowerstring required

XRPL classic address (r...) of the borrower to aggregate lending exposure for.

Response

Full exposure — loans[], brokers[], vanishedLoans[], attestation.

borrowerstring required
amendmentActiveboolean required

false = XLS-66 not yet enabled on mainnet; response still carries the XRPLScore.

ledgerIndexinteger
ledgerCloseAtstring date-time nullable
disposition'amendment-not-active' | 'active-exposure' | 'history-only' | 'no-loans-ever' required

no-loans-ever = we have never observed a loan (not proof of none). history-only = loans were observed before but none are on the ledger now.

worstStatus'none' | 'current' | 'overdue' | 'overdueGraceExpired' | 'impaired' | 'defaulted' | 'paid'
earliestNextPaymentDuestring date-time nullable
xrplScoreinteger nullable
gradestring nullable
leafHashstring

SHA-256(0x00 || canonical leaf). This snapshot is Merkle-anchored on-ledger daily; verify at /api/attest/verify?queryId=.

disclaimerstring required

Changes

No recorded changes to this operation across all 1 revision of this API.