Skip to main content
BlackSwan maintains a complete, immutable borrowing record for every wallet that has interacted with the protocol. This loan history is publicly queryable on-chain and through the BlackSwan API, giving lenders and protocols the data they need to make informed credit decisions without relying on centralized intermediaries.

What Is Tracked

Every time a wallet borrows through BlackSwan, the following metrics are updated:

Querying Loan History

You can retrieve the full loan history for any wallet using the BlackSwan SDK or REST API.
Example response:

Use Cases

Loan history data is useful in a variety of contexts across the lending ecosystem:
  • Lenders verifying borrowers — Before extending credit, a lender can query a wallet’s loan history to check repayment reliability and default count, making a data-driven decision on whether to approve a loan.
  • Displaying a credit profile — Applications can surface a wallet’s borrowing track record directly in their UI, giving users transparency into their own on-chain reputation.
  • Risk modeling — Protocols and analytics tools can use totalBorrowedUsd, totalRepaidUsd, and default rates to model portfolio risk, set dynamic collateral requirements, or fine-tune APR calculations.