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

Protocol data functions

Get all positions

const getAllPositions = await client.getAllPositions({
  token: "QAR",
});

Get historical APR

const getHistoricalAPR = await client.getHistoricalAPR({
  token: "QAR",
});
PreviousoToken data functionsNextLending

Last updated 2 months ago

Was this helpful?

⚙️