GET
/
v1
/
uniswap
/
liquidity_provision
/
in_range
Typescript (SDK)
import { CompassApiSDK } from "@compass-labs/api-sdk";

const compassApiSDK = new CompassApiSDK({
  apiKeyAuth: "<YOUR_API_KEY_HERE>",
});

async function run() {
  const result = await compassApiSDK.uniswapV3.uniswapLiquidityProvisionInRange({});

  console.log(result);
}

run();
{
  "in_range": true
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string>
default:arbitrum
required
Available options:
arbitrum,
base,
ethereum
token_id
integer
default:4318185
required

Token ID of the NFT representing the liquidity provisioned position.

Required range: x >= 0

Response

200
application/json

Successful Response

The response is of type object.