Borrow & Lend API
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
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: Aave Document Hub)
Integrated versions
Aave v2 - Ethereum (goerli testnet only)
Aave v3 - Avalanche, Polygon, Arbitrum, Optimism
Integrated features
Get all the current token asset pools for borrow and lending
Get the user position of the pools by wallet address
Get account unclaimed rewards
Lending with token asset
Lending and borrowing with a token asset in one-click
Borrow with token asset
Repay for borrowing an asset
Withdraw lending asset
Repay and withdraw in one-click
Claim rewards
Venus Protocol
Venus Protocol 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: Venus protocol whitepaper)
Integrated features
Get all the current token asset pools for borrow and lending
Get the user position of the pools by wallet address
Get account unclaimed rewards
Lending with token asset
Borrow with token asset
Repay for borrowing the asset
Withdraw lending asset
Claim rewards
How to use this Borrow & Lend API?
The user must provide the token asset for deposit amount for lending & lending, repaying, blockchain network, and interest rate mode.
ThirdFi provides a webview session as a URL.
ThirdFi verifies the transaction and updates it to the end user and developer.
The user confirms the transaction and submits it to the blockchain.
The developer redirects users to the URL to execute the transaction.
Last updated