ThirdFi.org
  • Introduction to ThirdFi
  • FAQ
  • Product
    • Overview
    • Swap API
    • Invest API
      • Market Weighted Index - MWI
      • Low-risk Crypto Index - LCI
    • Earn API
    • Pay API
    • Borrow & Lend API
    • Price Oracle
      • Price Oracle API
      • Price Oracle WebSocket
      • Price Oracle Use Case
    • Developer Dashboard
    • Developer Sandbox
    • Webhook
    • Testnet Faucet
  • Use Case
    • DeFi Alert
    • Price Alert Chrome Extension
  • Grants
    • Request For Builders
      • Season 1
  • Let's connect
    • Blog
    • Twitter
    • Discord
    • Facebook
    • Linkedin
    • Youtube
    • Link3
Powered by GitBook
On this page
  • Aave
  • Integrated versions
  • Integrated features
  • Venus Protocol
  • Integrated features
  • How to use this Borrow & Lend API?

Was this helpful?

  1. Product

Borrow & Lend API

PreviousPay APINextPrice Oracle

Last updated 2 years ago

Was this helpful?

ThirdFi presents Borrow & Lend API with top-tier non-custodial loan markets. Borrow & Lend API allows you to access various loan protocols and earn interest on supplying and borrowing assets simply through REST API. The funds deployed are working investment assets that users of your product can earn interest in real-time, all automatically.

We’re providing support for 2 protocols: Aave, and Venus Protocol.

Aave

is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers. Depositors provide liquidity to the market to earn a passive income, while borrowers are able to borrow in an overcollateralized (perpetually) or undercollateralized (one-block liquidity) fashion. (Source: )

Integrated versions

  1. Aave v2 - Ethereum (goerli testnet only)

  2. Aave v3 - Avalanche, Polygon, Arbitrum, Optimism

Integrated features

  1. Get all the current token asset pools for borrow and lending

  2. Get the user position of the pools by wallet address

  3. Get account unclaimed rewards

  4. Lending with token asset

  5. Lending and borrowing with a token asset in one-click

  6. Borrow with token asset

  7. Repay for borrowing an asset

  8. Withdraw lending asset

  9. Repay and withdraw in one-click

  10. Claim rewards

Venus Protocol

Integrated features

  1. Get all the current token asset pools for borrow and lending

  2. Get the user position of the pools by wallet address

  3. Get account unclaimed rewards

  4. Lending with token asset

  5. Borrow with token asset

  6. Repay for borrowing the asset

  7. Withdraw lending asset

  8. Claim rewards

How to use this Borrow & Lend API?

  1. The user must provide the token asset for deposit amount for lending & lending, repaying, blockchain network, and interest rate mode.

  2. ThirdFi provides a webview session as a URL.

  3. ThirdFi verifies the transaction and updates it to the end user and developer.

  4. The user confirms the transaction and submits it to the blockchain.

  5. The developer redirects users to the URL to execute the transaction.

is an algorithmic-based money market system designed to bring a complete decentralized finance-based lending and credit system onto Binance Smart Chain. Venus enables users to utilize their cryptocurrencies by supplying collateral to the network that may be borrowed by pledging over-collateralized cryptocurrencies. (Source: )

Aave
Aave Document Hub
Venus Protocol
Venus protocol whitepaper