For the complete documentation index, see llms.txt. This page is also available as Markdown.

Reserve data

get

Retrieves reserve data for a specific asset from the lending pool.

Authorizations
AuthorizationstringRequired
Query parameters
addressstringRequired
  • The address of the lending pool.
chainIdstringRequired
  • The chain ID of the blockchain network.
assetstringRequired
  • The asset for which to retrieve reserve data.
Header parameters
AuthorizationstringRequired
  • The authorization token.
Responses
200

A promise that resolves to a LendingPoolAPIResponse containing the reserve data.

application/json

Represents the structure of the API response for the Lending Pool.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

Provides a message related to the API response.

dataanyOptional

Contains the data returned by the API, if any.

get/lending-pool/reserve-data
GET /lending-pool/reserve-data?address=text&chainId=text&asset=text HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Accept: */*
200

A promise that resolves to a LendingPoolAPIResponse containing the reserve data.

{
  "success": true,
  "message": "text",
  "data": null
}