Skip to main content

Pools Backend Overview

Introduction

The Pools Backend includes a full set of APIs and SDK modules to interact with Defactor’s lending infrastructure. These tools enable developers to integrate borrowing, lending, collateral management, and liquidation flows into their applications with ease.

This backend layer supports both ERC-20 Collateral Pools and Counterparty Pools, offering flexibility for open and permissioned lending models.

API Access

The Pools APIs provide programmatic access to lending pool data, loan management functions, and real-time system states.

Use APIs to:

  • Query pool and loan information
  • Trigger actions like borrowing or repaying
  • Monitor status updates and metrics
  • Automate backend processes and alerts

Explore available endpoints:

These APIs are suitable for teams building custom interfaces, automations, or analytics solutions on top of Pools.

SDK Modules

Defactor’s SDKs are optimized for TypeScript/JavaScript environments and provide utility modules to simplify smart contract interaction, transaction formatting, and wallet integration.

Use SDKs to:

  • Integrate on-chain lending logic into dApps
  • Estimate gas and prepare transactions
  • Wrap and abstract smart contracts into simple functions

Available modules:

SDKs are ideal for developers looking to integrate directly into web apps and smart contract frontends.

Key Capabilities

  • Create and manage lending pools
  • Borrow and lend using on-chain collateral
  • Monitor loan status, interest accrual, and repayment
  • Handle automatic liquidations and risk triggers
  • Integrate with wallet providers and frontends

Get Started

  1. Choose your integration type: API or SDK
  2. Connect your Web3 wallet or backend provider
  3. Start building lending, borrowing, and liquidity flows

Follow us:

Copyright © 2025 Defactor. All Rights Reserved