GET
/
v0
/
uniswap
/
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.uniswap_v3.liquidity_provision_positions(chain=models.UniswapLiquidityProvisionPositionsChain.ARBITRUM_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:arbitrum: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 keyed by the token of owner index of the position.