⚙️API

Integrate our API directly into your dApp.

Welcome to the API documentation for our lending and borrowing as a service system. This API enables users to lend, borrow, and manage loans using cryptocurrency assets as collateral. Whether you're looking to open a loan, repay your debt, or adjust the collateral in the system, our API provides the tools to securely and efficiently perform these operations, ensuring a transparent and decentralized financial experience.

Below you can find the main service endpoints:

  • GET /yield/:token - Get the best suggestion for yield based on :token (optional action query: lend or withdraw)

  • GET /strategies - Get all available strategies

  • GET /strategies/:id - Get details for a specific strategy

  • GET /strategies/:id/bytecode - Get transaction bytecode for a strategy

  • GET /wallets/:address - Get wallet position information

  • GET /swap/quote - Get a quote for a intrachain or crosschain transaction

  • GET /swap/bytecode - Get the necessary bytecode to execute a quote

\

Last updated