POST
/
v0
/
clmm
/
{poolId}
/
add-liquidity
curl --request POST \
  --url https://raydium.dial.to/api/v0/clmm/{poolId}/add-liquidity \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "<any>",
  "account": "11111111111111111111111111111111"
}'
{
  "type": "<any>",
  "transaction": "<string>"
}

Path Parameters

poolId
string
required

The raydium Concentrated Liquidity Pool ID

Examples:

"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj"

Query Parameters

amount
number

The amount of liquidity to add. Human readable value, e.g. 0.1 SOL

Required range: x >= 0
percentage
integer

The percentage of liquidity to add

Required range: 0 <= x <= 100
positionAddress
string

The address of the position to add liquidity to. If not provided, first available position will be used.

Body

application/json

Response

200 - application/json

OK

The response is of type object.