JustLend DAO Docs
JustLend DAOAuditWhat's New
  • GETTING STARTED
    • Overview
    • Concepts
      • Supply
      • Borrow
      • Withdraw
      • Repay
      • Liquidations
      • Risks
      • Staked TRX
      • Energy Rental
    • Whitepaper
    • FAQs
      • ​​Wallet Connection Questions
      • More Questions
  • GOVERNANCE
    • JIPs
    • Tokenomics
    • Community Forum
  • DEVELOPERS
    • Contracts Overview
    • Supply and Borrow Market
      • SBM
      • Interest Rate Model
      • Governance
      • Price Oracle
      • Comptroller
    • Staked TRX
    • Energy Rental
    • Deployed Contracts
    • APIs
      • Supply and Borrow Market
        • Get Supply and Borrow Market Information
        • Get Account Information
        • Get Market Mining APY Information
        • Get User Supply Mining Reward Information
        • Get User Supply Mining Reward Distributions
      • Staked TRX and Energy Rental Market
        • Get Staked TRX and Energy Rental Markets Information
        • Get User Data of sTRX Liquidity Staking
        • Get User Data of Resource Rent
  • Resources
    • Community
      • Links
      • Wallet Integration Cooperation
    • Risk Warning
    • Audits
      • Supply & Borrow
      • Staked TRX
    • Terms of Service
      • Terms of Service
      • Privacy Policy
Powered by GitBook
On this page
  1. DEVELOPERS
  2. APIs
  3. Supply and Borrow Market

Get Supply and Borrow Market Information

PreviousSupply and Borrow MarketNextGet Account Information

Last updated 2 months ago

Get Supply and Borrow Market Information

get

Query to get all the supply and borrow market information, which includes token information of each market.

Query parameters
No Parameters.anyOptional
Responses
200
Return the list of market information.
application/json
400
Bad Request
application/json
get
GET /lend/jtoken HTTP/1.1
Host: openapi.just.network
Accept: */*
{
  "code": 0,
  "data": {
    "tokenList": [
      {
        "address": "TE2RzoSV3wFK99w6J9UnnZ4vLfXYoxvRwP",
        "borrowIndex": 1224530412174750500,
        "borrowRate": 0.06467371654104,
        "cash": 349909392.53702,
        "collateralFactor": 0.75,
        "exchangeRate": 0.01044806381183234,
        "reserveFactor": 0.1,
        "reserves": 2300647.881336,
        "supplyRate": 0.009044500002192,
        "symbol": "jTRX",
        "totalBorrows": 63951044.565948,
        "totalSupply": 39391010299.49149,
        "underlyingAddress": "T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb",
        "underlyingDecimal": 6,
        "underlyingPriceInTrx": 1,
        "underlyingSymbol": "TRX"
      }
    ]
  },
  "message": "SUCCESS"
}