POST
/
v0
/
clmm
/
{poolId}
/
add-liquidity
CLMM Add Liquidity
curl --request POST \
  --url https://raydium.dial.to/api/v0/clmm/{poolId}/add-liquidity \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "transaction",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}'
{
  "type": "transaction",
  "transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArczbMia1tLmq7zz4DinMNN0pJ1JtLdqIJPUw931mdvp9vlLgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8FZAz9nIL9hGE4x5rKjjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAgAB"
}

Path Parameters

poolId
string
default:8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj
required

The raydium Concentrated Liquidity Pool ID

Examples:

"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj"

Query Parameters

amount
number
default:0.1

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

Required range: x >= 0
Example:

0.1

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.

Example:

"9aYp9rT7wD6H8HCFpXgJGfHdmVfLJVKzZgRxvQcDfGHj"

Body

application/json

Response

200 - application/json

OK

The response is of type object.