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 Account Information

PreviousGet Supply and Borrow Market InformationNextGet Market Mining APY Information

Last updated 2 months ago

Get Account Information

get

Query to get the SBM user account information. (To pass parameters to obtain specific information, please click 「Test」and fill in the address information in the Query parameters section.)

Query parameters
addressesstringOptional

Query of the user addresses. (To query multiple addresses at the same time, please use ‘,’ to separate multiple addresses.)

minBorrowValueInTrxstringOptional

Query the minimum value of borrowed asset in TRX.

mathHealthstringOptional

Query the max health level

pageNointeger · int64Optional

Page number.

pageSizeinteger · int64Optional

Page size, maximum 1000.

Responses
200
Return the list of user account information.
application/json
400
Bad Request
application/json
get
GET /lend/account HTTP/1.1
Host: openapi.just.network
Accept: */*
{
  "code": 0,
  "data": {
    "totalPage": 1,
    "list": [
      {
        "addresses": "T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb",
        "health": 5.88,
        "liquidateStatusStartTime": "2025-05-18T13:08:52.765Z",
        "tokens": [
          {
            "address": "TNSBA6KvSvMoTqQcEgpVK7VhHT3z7wifxy",
            "borrowBalanceUnderlying": 0.704372293431166,
            "entered": 1,
            "supplyBalanceJtoken": 1.09062037,
            "supplyBalanceUnderlying": 0.011488913293347973,
            "underlyingSymbol": "USDD"
          }
        ],
        "totalBorrowValueInTrx": 11.27737,
        "totalCollateralValueInTrx": 24.126681
      }
    ],
    "totalCount": 1
  },
  "message": "SUCCESS"
}