๐Balance Check
GET /lender/pools/balance
Balance information for lending pools
Query Parameters
Parameter
Required
Type
Description
userWallet
Yes
string
User wallet address
quoteToken
Yes
string
Address of the token being borrowed.
Headers
Header
Required
Type
Description
x-api-key
Yes
string
API key
Content-Type
Yes
string
application/json
Example Request
GET https://lavarave.wtf/api/sdk/v1.0/lender/pools/balance?userWallet=7xK8L9pVaLuZKfXzJtWd3QtyKhjGfBHoX7h8rzZfFyGx"eToken=So11111111111111111111111111111111111111112Response Fields
Field
Type
Description
quoteToken
string
Address of the token being borrowed.
nodeWallet
string
Node wallet address associated with this lending pool.
balances
object
Object containing detailed balance information. Contains:
total(Total pool balance - available + deployed)available(Available balance that can be withdrawn or lent out)deployed(Currently lent out to active positions)
Response Example
{
"quoteToken": "So11111111111111111111111111111111111111112",
"nodeWallet": "9yMzL8pVaLuZKfXzJtWd3QtyKhjGfBHoX7h8rzZfFyGx",
"balances": {
"total": 1000.5,
"available": 750.3,
"deployed": 250.2
}
}Last updated