GET
/
v0
/
aerodrome_slipstream
/
liquidity_provision
/
positions
/
get
from compassapisdk import CompassAPISDK, models


with CompassAPISDK(
    api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api_sdk:

    res = compass_api_sdk.aerodrome_slipstream.slipstream_liquidity_provision_positions(chain=models.AerodromeSlipstreamLiquidityProvisionPositionsChain.BASE_MAINNET)

    # 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:mainnet
required

The chain to use.

Available options:
base:mainnet,
ethereum:mainnet,
arbitrum:mainnet
user
string
default:0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B

Response

200
application/json
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.