Clmm Add Liquidity

CLMM - Add Liquidity

post
Body
service_fee_buy_percentagestringRequired

Buying, service fee rate from a to b, a decimal between 0 and 1, only for new pools

service_fee_sell_percentagestringRequired

Selling, service fee rate from b to a, a decimal between 0 and 1, only for new pools

price_tick_lowerintegerRequired

Lower bound of price tick

price_tick_upperintegerRequired

Upper bound of price tick

priceintegerRequired

Set price

unit_tickstringRequired
Responses
200Success
application/json
post
POST /api/pool/clmm/add HTTP/1.1
Host: 127.0.0.1:8090
Content-Type: application/json
Accept: */*
Content-Length: 1175

{
  "tick1": {
    "tick": "BTC",
    "coin_type": "btc",
    "amount": "100000"
  },
  "tick2": {
    "tick": "THIRD•THIRD•TEST•TEO",
    "coin_type": "runes",
    "amount": "577.53179"
  },
  "sig_info": {
    "address": "tb1puyxw3r3tz8f65y2tplmw8g0zcxwmsmgy09ecnu7e7a8l3fhnxmqq5yankx",
    "public_key": "02b08f73e4e80044fb59e109a674bfab916c19140ebbcf5c68dba1226cf5a59536",
    "sign_info": "Address: tb1puyxw3r3tz8f65y2tplmw8g0zcxwmsmgy09ecnu7e7a8l3fhnxmqq5yankx\n\n Add 0.001BTC, 577.53179 THIRD•THIRD•TEST•TEO (estimated, actual amount may vary)into BTC/ THIRD•THIRD•TEST•TEO pool\n      \nTime: 2025-06-24 10:10:20\n\n Timestamp: 1750731020",
    "signature": "AUCqnSb2Ow3hxbpv1Zn2W59QvM6keUDawiln+fOXrZAWSwTBYzRRraXa0UnjHYaLibTaoD7XNWdud1M2YxDSBU1A"
  },
  "payer_address": {
    "address": "tb1puyxw3r3tz8f65y2tplmw8g0zcxwmsmgy09ecnu7e7a8l3fhnxmqq5yankx",
    "public_key": "02b08f73e4e80044fb59e109a674bfab916c19140ebbcf5c68dba1226cf5a59536"
  },
  "payer_asset_address": {
    "address": "tb1puyxw3r3tz8f65y2tplmw8g0zcxwmsmgy09ecnu7e7a8l3fhnxmqq5yankx",
    "public_key": "02b08f73e4e80044fb59e109a674bfab916c19140ebbcf5c68dba1226cf5a59536"
  },
  "unit_tick": "THIRD•THIRD•TEST•TEO",
  "price_tick_lower": 37030,
  "price_tick_upper": 37110,
  "price": 40.816326530612244
}
{
  "code": 0,
  "msg": "",
  "data": {
    "order_id": "liquid-1937332443617931264",
    "delta_x": "577.53179",
    "delta_y": "85187.264698416468455414722830512628367473546665340232286034510734007802914105343285188416365623840686"
  },
  "req_id": "1937332442724544512"
}

Last updated

Was this helpful?