POST
/
v0
/
uniswap
/
liquidity_provision
/
positions
/
get
curl --request POST \
  --url https://api.compasslabs.ai/v0/uniswap/liquidity_provision/positions/get \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "chain": "arbitrum:mainnet",
  "user": "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
}'
{
  "positions": {}
}

Authorizations

x-api-key
string
header
required

Your Compass API key. Get your key here.

Body

application/json
chain
enum<string>
required

The chain to use.

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

The address of the user to check the balance of

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.

Was this page helpful?