LiquidOps Docs
Home
  • 👋Welcome to LiquidOps
  • 📜Protocol
    • Oracle
  • 🔐Security
    • Audits
  • ⚙️Developers
    • LiquidOps JS
      • Installation & quickstart
      • Token data
      • Utility functions
      • oToken data functions
      • Protocol data functions
      • Lending
      • Borrowing
      • Liquidations
      • Retrieving transactions
  • Additional links
    • Send feedback
    • Linktree
  • Social media
    • X
    • Discord
    • GitHub
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Developers
  2. LiquidOps JS

Borrowing

Borrow tokens

const borrow = await client.borrow({
  token: "QAR",
  quantity: 1n,
});

Repay borrowed tokens

const repay = await client.repay({
  token: "QAR",
  quantity: 1n,
});
PreviousLendingNextLiquidations

Last updated 2 months ago

Was this helpful?

⚙️