GET
/
users
/
{user_address}
/
positions
curl --request GET \
  --url https://api.gte.xyz/v1/users/{user_address}/positions
{
  "positions": [
    {
      "market": {
        "marketType": "amm",
        "address": "<string>",
        "baseAsset": {
          "address": "<string>",
          "decimals": 123,
          "name": "<string>",
          "symbol": "<string>",
          "creator": "<string>",
          "totalSupply": 123,
          "mediaUri": "<string>"
        },
        "quoteAsset": {
          "address": "<string>",
          "decimals": 123,
          "name": "<string>",
          "symbol": "<string>",
          "creator": "<string>",
          "totalSupply": 123,
          "mediaUri": "<string>"
        },
        "price": 123
      },
      "user": "<string>",
      "token0Amount": 123,
      "token1Amount": 123
    }
  ],
  "total": 123
}

Path Parameters

user_address
string
required

Response

200
application/json
List of user's LP positions
positions
object[]
total
integer