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
  • ๐Ÿ”งHow to Use LiquidOps
    • How do Liquidations Work in Overcollateralized Lending Protocols?
    • How does LiquidOps Enable Decentralized Leverage in the Arweave and AO Ecosystem?
    • How to Use LiquidOps: A Step-By-Step Guide
  • ๐Ÿ“˜Protocol Mechanics
    • The Jump Rate Interest Model
    • The LiquidOps Auction Model
  • Cross-Collateral Lending Protocols
  • How are Lending Protocol Interest Rates Determined?
  • Lending Pools vs. Peer-to-Peer Lending
  • ๐Ÿ’ธEarning Strategies
    • Places to Earn Yield in the Arweave and AO Ecosystem
  • โœจProject Highlights
    • Project Highlight: Astro
  • Project Highlight: Community Labs
  • Project Highlight: Botega
  • ๐ŸŒThe AO and Arweave Ecosystem
    • AO Fair Launch
    • Understanding AO: Key Projects and Pre-Bridged Assets Overview
  • Additional links
    • Brand Kit
    • 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 3 months ago

Was this helpful?