User account data

get

Retrieves user account data from the lending pool.

Authorizations
AuthorizationstringRequired
Query parameters
addressstringRequired
  • The address of the lending pool.
chainIdstringRequired
  • The chain ID of the blockchain network.
userstringRequired
  • The user address for which to retrieve account data.
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Responses
200

A promise that resolves to a LendingPoolAPIResponse containing the user account data.

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

A promise that resolves to a LendingPoolAPIResponse containing the user account data.

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