Skip to main content
GET
/
v1
/
aerodrome_slipstream
/
liquidity_provision
/
positions
Python (SDK)
from compass_api_sdk import CompassAPI, models


with CompassAPI(
    api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api:

    res = compass_api.aerodrome_slipstream.aerodrome_slipstream_liquidity_provision_positions(chain=models.V1AerodromeSlipstreamLiquidityProvisionPositionsChain.BASE, user="0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")

    # Handle response
    print(res)
{
  "positions": {}
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string>
default:base
required
Available options:
base
user
string
default:0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B

The user to get positions for.

Response

Successful Response

positions
object
required

Liquidity provision positions belonging to a particular user. The key is a tuple of the token0, token1, tick_spacing, tick_lower, and tick_upper of the position.