GET
/
liquidity-positions
/
providers
/
{address}
/
latest
Provider Positions
curl --request GET \
  --url https://api.amberdata.com/market/defi/liquidity-positions/providers/{address}/latest \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": [
    {
      "tokenAddress": "0xa478c2975ab1ea89e8196811f51a7b7ade33eb11",
      "holderAddress": "0x2344f131b07e6afd943b0901c55898573f0d1561",
      "timestamp": "2022-01-26 14:38:09 000",
      "numTokens": "27746190577369179725273",
      "supply": "174185115529807924826134",
      "position": "0.15929140"
    }
  ]
}

Authorizations

x-api-key
string
header
default:API_KEY
required

Path Parameters

address
string
default:0x13f89a69d28f5fe9a16ca762f21eb9f5c18fd645
required

The address of the liquidity provider.

Query Parameters

size
string

[Optional] Maximum number of positions to return.<BR/>[Defaults] All (if not specified)

timeFormat
string

[Optional] Time format of the timestamps in the return payload.<BR/>[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Response

200 - application/json

200

The response is of type object.