Revision

get

Retrieves the revision number of a lending pool.

Authorizations
Query parameters
addressstringRequired
  • The address of the lending pool.
chainIdstringRequired
  • The chain ID where the lending pool is located.
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Responses
200
A promise that resolves to a `LendingPoolAPIResponse` containing the revision number of the lending pool.
application/json
get
GET //lending-pool/revision HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200

A promise that resolves to a LendingPoolAPIResponse containing the revision number of the lending pool.

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