POST
/
v0
/
aerodrome_slipstream
/
liquidity_provision
/
mint
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_mint(token0=models.TokenEnum.STG, token1=models.TokenEnum.RPL, tick_spacing=1500, tick_lower=-1000, tick_upper=1000, amount0_desired="1.5", amount1_desired="1.7", amount0_min="1.4", amount1_min="1.6", chain=models.Chain.ARBITRUM_MAINNET, sender="0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B", recipient="0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")

    # Handle response
    print(res)
{
  "chainId": 123,
  "data": "<string>",
  "from": "<string>",
  "gas": 123,
  "to": "<string>",
  "value": 123,
  "nonce": 123,
  "maxFeePerGas": 123,
  "maxPriorityFeePerGas": 123
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Body

application/json

Request model for minting a new liquidity position.

Response

200
application/json

Successful Response

The response is of type object.