GetMarketId

get

Retrieves the market ID from the Pool Address Provider.

Authorizations
AuthorizationstringRequired
Path parameters
accountstringRequired
  • The account path parameter.
Query parameters
chainIdstringRequired
  • The chain ID from the query parameters.
addressstringRequired
  • The address from the query parameters.
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Responses
200

A promise that resolves to a PoolAddressProviderAPIResponse containing the market ID as a string.

application/json
get
/aave/v3/poolAddressProvider/{account}/getMarketId
GET /aave/v3/poolAddressProvider/{account}/getMarketId?chainId=text&address=text HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Accept: */*
200

A promise that resolves to a PoolAddressProviderAPIResponse containing the market ID as a string.

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